On 02/07/2017 02:53 PM, oussema ben khedher wrote:
> hi 
> in my academic project i needed to know how qemu exactly translate an arm 
> instruction to the host assembly (in my case x86) so if you can help me to 
> know the function in the source code of qemu that tdo this work 
> thank you
> 

Hi,

There is a lot of code involved in the whole translation:
The guest instructions are not directly translated to the host
assembly but they are first translated in some intermediate OPs
(named TCG).

This translation takes place here:
void gen_intermediate_code(CPUARMState *env, TranslationBlock *tb)
In target/arm/translate.c

Fred

Reply via email to