what happens to the upper bits of rax in the following instruction.
mov eax, 1;
what about reading from memory?
mov eax, [0x12345678].
is it possible to say something like
mov rax, ecx # sign extend the values of ecx. or pad it with zeros
i am writting a compiler with uses 64 bit pointers but 32 bit integers and i need to interconvert between 32 and 64 bits because its not a statically typed language. any special instructions which can be helpful.