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,895 of 4,675   
   Terje Mathisen to James Van Buskirk   
   Re: Register names - was Re: BASE64 agai   
   22 Jul 17 19:49:05   
   
   From: terje.mathisen@nospicedham.tmsw.no   
      
   James Van Buskirk wrote:   
   > "James Van Buskirk"  wrote in message news:ol005i$tkm$1@dont-email.me...   
   >>                                             If everyone uses a   
   >> different mapping for the integer register set it seems to me to   
   >> be a source of confusion.   
   >   
   > That said, even Intel contributes to the confusion, for example in   
   > the documentation at the start of this thread or in the Processor   
   > Brand String that you get with CPUID+EAX={80000002 80000003   
   > 80000004}, where the string comes out in the order EAX EBX ECX   
   > EDX, each in little-endian byte order, right-justified.  See   
   > 325462.pdf, Table 3-22, Vol. 2A, p. 3-201.   
   >   
   I think it is relatively obvious that the strange register ordering was   
   so that all the memory-addressing 808x registers would come in a single   
   group, and since BX also allows hi/lo byte access it had to neighbor the   
   AX/CX/DX regs.   
      
   Terje   
      
   --   
   -    
   "almost all programming can be viewed as an exercise in caching"   
      
   --- 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