flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
r22 20 May 2006, 18:24
32bit XLAT
mov al, byte[ebx+eax] 64bit XLAT mov al, byte[rbx+rax] The problem with mov al,[rbx+al] is AL's a 8bit register so it doesn't match the memory addressing. If you are ONLY using the AL part of RAX/EAX then you can use MOVZX instead of MOV. Using the ZX suffix is a sort of optimization for 64bit systems in much the same way is XOR reg,samereg is an optimization for zeroing the register. |
|||
![]() |
|
MAD_DËMON 20 May 2006, 18:39
well then it seems that the AMD documentation was wrong this time..
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.