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,195 of 4,675   
   James Van Buskirk to Bartc   
   Re: asm improvements?   
   21 Dec 17 12:53:35   
   
   From: not_valid@nospicedham.comcast.net   
      
   "Bartc"  wrote in message news:UBS_B.50723$pP1.7871@fx21.am4...   
      
   >  On 21/12/2017 14:33, Terje Mathisen wrote:   
      
   >  > 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.   
      
   >  So, using a set of register names like this:   
      
   >    R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R14   
      
   >  is bonkers, but a set like this isn't:   
      
   >    EAX ECX EDX EBX ESP EBP ESI EDI R8D R9D R10D R11D R12D R13D R14D R15D   
      
   >  with special registers all over the place.   
      
   I think Terje might agree with me that numbering registers isn't a   
   problem, applying a random permutation to the existing numbering   
   scheme is.  Well, having two registers called R14 is a little weird :) .   
      
   It’s kind of like referring to the days of the week by their code numbers   
   and concluding that, since p-chem meets on Monday, Wednesday,   
   and Friday that these days should go together.  Also, since Numerical   
   Analysis is on Tuesdays and Thursdays, they should go together, so we   
   get Sunday = 1 (Numerical Analysis being taught in FORTRAN),   
   Monday = 2, Tuesday = 5, Wednesday = 3, Thursday = 6, Friday = 4,   
   and Saturday = 7.   
      
   If you ever have to consult with anyone, they won't be able to just   
   recall the MOD R/M table and know what your register codes   
   mean just from first principles like that.   
      
   >  OK. I wouldn't like to be a postman where you live if the houses are   
   > identified in the same manner.   
      
   Rochester, NY is on a polar grid but the numbering on radial streets,   
   although sequential, isn't tied to the circumferential streets, but   
   rather starts from the first house on the street no matter how far   
   from the city center that may be.  And how about Addis Ababa?   
      
   --- 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