topscore
February 17th, 2012, 11:24 AM
who knows about mov command in gas assembler?
when there is a value in register say ,%r10= 0x3c00000000
and x=12
when you do the following command
movq x, %r10
i've got in %r10 register the value-0x3c0000000012
how can it be?
why x do not extend to register size 64 bits?
when there is a value in register say ,%r10= 0x3c00000000
and x=12
when you do the following command
movq x, %r10
i've got in %r10 register the value-0x3c0000000012
how can it be?
why x do not extend to register size 64 bits?