Re:Loading an x64 register, how hard could it be?
by WalterBright on Sunday September 20, 2015 @06:24AM
(#10247083)
It's actually 7 bytes, not 6, to load a sign extended value into a register.
[ Parent
| on HN ]
Re:Loading an x64 register, how hard could it be?
by mpu on Sunday September 20, 2015 @04:16PM
(#10248890)
Thank 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.