Re: what is the symbole "leul" mean on this code?

2020-06-02 Thread Laurent Desnogues
On Tue, Jun 2, 2020 at 3:13 PM tugouxp <13824125...@163.com> wrote:
>
> HI guys:
>i am stucked by the following code,and i can find document illustrations 
> this nowhere.
>what does the "leul" stands for? and the postfix 10 means what?

That should be little-endian unsigned long (where long is 32-bit).


Laurent

> thank you!
>
> 10   6001  
>
> 11  movi_i32 tmp3,$0x60010020pref=all
>
> 12  mov_i32 tmp5,tmp3dead: 1  pref=all
>
> 13  qemu_ld_i32 tmp4,tmp5,leul,10dead: 1  pref=all
>
> 14  movi_i32 tmp3,$0xfffepref=all
>
> 15  and_i32 pc,tmp4,tmp3 sync: 0  dead: 0 2  pref=all
>
> 16  movi_i32 tmp3,$0x1   pref=all
>
> 17  and_i32 tmp4,tmp4,tmp3   dead: 1 2  pref=all
>
> 18  st_i32 tmp4,env,$0x220   dead: 0 1
>
> 19  exit_tb $0x0
>
> 20  set_label $L0
>
> 21  exit_tb $0x7f0d0223c003
>
>
>
>
>
>



what is the symbole "leul" mean on this code?

2020-06-02 Thread tugouxp
HI guys:
   i am stucked by the following code,and i can find document illustrations 
this nowhere.
   what does the "leul" stands for? and the postfix 10 means what?


thank you!


10   6001     

11  movi_i32 tmp3,$0x60010020pref=all

12  mov_i32 tmp5,tmp3dead: 1  pref=all

13  qemu_ld_i32 tmp4,tmp5,leul,10dead: 1  pref=all

14  movi_i32 tmp3,$0xfffepref=all

15  and_i32 pc,tmp4,tmp3 sync: 0  dead: 0 2  pref=all

16  movi_i32 tmp3,$0x1   pref=all

17  and_i32 tmp4,tmp4,tmp3   dead: 1 2  pref=all

18  st_i32 tmp4,env,$0x220   dead: 0 1

19  exit_tb $0x0   

20  set_label $L0 

21  exit_tb $0x7f0d0223c003