Who said registers are born equal ?

From: The Wannabee (faq_at_.@.@SZMyggenPV.com)
Date: 08/31/04


Date: Tue, 31 Aug 2004 19:03:56 +0200


;xx is placeholders for memory address

Binary:
00_1010_0001__xxxx_xxxx__xxxx_xxxx__xxxx_xxxx__xxxx_xxxx
Hex:
; 0_A1_xx_xx_xx_xx
Memonics:
mov eax D$Memory

Binary:
00_1000_1011__0001_1101__xxxx_xxxx__xxxx_xxxx__xxxx_xxxx__xxxx_xxxx
Hex:
;0_8B_1D_xx_xx_xx_xx
mov ebx D$Memory

moving a memory variable to eax is one byte shorter ????? Is this correct ?



Relevant Pages

  • Re: Who said registers are born equal ?
    ... > act as a visual copy of the ALU itself. ... > all serious tools rely on it, and the shorter forms may perform faster. ... running from datasection in RosAsm. ... mov eax TestProcedure ...
    (alt.lang.asm)
  • Re: Who said registers are born equal ?
    ... | mov eax D$Memory ... So there is a whole set of short-cut instructions for eax/ax/al, ... they all are shorter than the general purpose doubles: ...
    (alt.lang.asm)
  • Re: NASM error message
    ... Could you provide a minimal example which triggers the error? ... mov eax, foo ... mov ebx, foo ...
    (comp.lang.asm.x86)
  • Re: Link Struct / Class From MASM to C/C++???
    ... "Bryan Parkoff" wrote: ... MOV EAX, ... MPU__Run ENDP ... What does moving the contents of a memory position into the ...
    (comp.lang.asm.x86)