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,190 of 4,675   
   Terje Mathisen to Bartc   
   Re: asm improvements?   
   21 Dec 17 15:33:13   
   
   From: terje.mathisen@nospicedham.tmsw.no   
      
   Bartc wrote:   
   > On 21/12/2017 06:14, James Van Buskirk wrote:   
   > The standard set of registers already is different from what is hardcoded:   
   >   
   > Internal code    Register name   
   >   0               AX   
   >   1               CX   
   >   2               DX   
   >   3               BX   
   >   4               SP   
   >   5               BP   
   >   6               SI   
   >   7               DI   
   >   
   > Why aren't they named AX,BX,CX,DX instead of AX,CX,DX,BX?   
      
   This is quite obvious:   
      
   By putting them in this order, all the registers that were capable of   
   memory ops were located in one group, i.e. 3-7.   
      
   Anyway, I personally agree with James here: Your idea is pretty much   
   bonkers but since it won't affect anyone else it really doesn't matter.   
   :-)   
      
   Merry Christmas everyone!   
      
   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