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 2,964 of 4,675   
   Bartc to R.Wieser   
   Re: asm improvements?   
   27 Aug 17 18:00:19   
   
   From: bc@nospicedham.freeuk.com   
      
   On 27/08/2017 07:38, R.Wieser wrote:   
   > firr,   
   >   
   >> do it really works?   
   >   
   > Yes, they do,*   
   >   
   > I hope you do realize that although the first group (roughly) translates to   
   > NOPs**, the second group actually changes the contents of the register.   
   >   
   > *they might have been re-purposed in later processor versions though.   
   >   
   > **while the involved register does not change, there might be some effect on   
   > the rest of the processor.   
      
   On x64, moving a 32-bit register to itself clears the top half of of the   
   corresponding 64-bit register (so mov eax,eax clears the top half of   
   rax). I think anything that modifies a 32-bit register does the same.   
      
   --   
   bartc   
      
   --- 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