3 ms·
It's actually 7 bytes, not 6, to load a sign extended value into a register. 48 C7 C0 FF FF FF FF mov RAX,0FFFFFFFFh
by WalterBright 11y ago
It's actually 7 bytes, not 6, to load a sign extended value into a register.
48 C7 C0 FF FF FF FF mov RAX,0FFFFFFFFh
- mpu 11y agoThank you, I fixed that. In my head I knew a REX prefix was necessary and thought it was sufficient, but i386 has shortcuts to load an immediate into a register that are not available in 64 bits version! Thanks for mentioning that.