home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,196 of 4,675   
   James Van Buskirk to Bartc   
   Re: asm improvements?   
   21 Dec 17 12:57:14   
   
   From: not_valid@nospicedham.comcast.net   
      
   "Bartc"  wrote in message news:l3T_B.71509$9X4.26322@fx02.am4...   
      
   > 66 8B 00 -- -- -- -- -- -- -- -- -- -- -- mov ax,  word [rax]   
   > 66 8B 01 -- -- -- -- -- -- -- -- -- -- -- mov ax,  word [rcx]   
   > 66 8B 02 -- -- -- -- -- -- -- -- -- -- -- mov ax,  word [rdx]   
   > 66 8B 03 -- -- -- -- -- -- -- -- -- -- -- mov ax,  word [rbx]   
   > 66 8B 04 24 -- -- -- -- -- -- -- -- -- -- mov ax,  word [rsp]   
   > 66 8B 45 00 -- -- -- -- -- -- -- -- -- -- mov ax,  word [rbp]   
   > 66 8B 06 -- -- -- -- -- -- -- -- -- -- -- mov ax,  word [rsi]   
   > 66 8B 07 -- -- -- -- -- -- -- -- -- -- -- mov ax,  word [rdi]   
   > 66 41 8B 00 -- -- -- -- -- -- -- -- -- -- mov ax,  word [r8]   
   > 66 41 8B 01 -- -- -- -- -- -- -- -- -- -- mov ax,  word [r9]   
   > 66 41 8B 02 -- -- -- -- -- -- -- -- -- -- mov ax,  word [r10]   
   > 66 41 8B 03 -- -- -- -- -- -- -- -- -- -- mov ax,  word [r11]   
   > 66 41 8B 04 24 -- -- -- -- -- -- -- -- -- mov ax,  word [r12]   
   > 66 41 8B 45 00 -- -- -- -- -- -- -- -- -- mov ax,  word [r13]   
   > 66 41 8B 06 -- -- -- -- -- -- -- -- -- -- mov ax,  word [r14]   
   > 66 41 8B 07 -- -- -- -- -- -- -- -- -- -- mov ax,  word [r15]   
      
   > You can see the extra bytes needed to overcome the restrictions with   
   > RSP/RBP and the matching R12/13, but, so what?   
      
   Sometimes you really want one more or less byte in your   
   code to improve instruction density or align a branch target   
   and knowing where the bumps are in the above table can   
   help you achieve that.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca