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,902 of 4,675   
   Bartc to James Harris   
   Re: Register names - was Re: BASE64 agai   
   23 Jul 17 14:27:03   
   
   From: bc@nospicedham.freeuk.com   
      
   On 22/07/2017 22:53, James Harris wrote:   
   > On 22/07/2017 21:11, Bartc wrote:   
      
   >> I think that demonstrates the trouble I have with the official   
   >> register names!   
   >   
   > Lots of history led to where we are now!   
   >   
   > I prefer plain numbering such as the IBM S360+ and others which simply   
   > call registers r0 to r15.   
      
   Exactly. But R8 to R15 are already taken, and I wanted to swap around   
   the special registers, so that RSP becomes R15 for example. And move the   
   parameter-passing registers to the top.   
      
   I've used AC0 to AC15 before, but that's rather old-fashioned. So I   
   decided on D0 to D15, with a register size also encoded within the   
   register name, 'D' meaning 64 bits. (I think D0 to D15 were used as   
   32-bit data registers on the 68K.)   
      
   The new XMM registers are least are numbered properly, even if the 'XMM'   
   prefix is a bit naff.   
      
   --   
   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