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,763 of 4,675   
   James Harris to James Harris   
   Re: Locals, parameters, callee-save regi   
   06 Jan 19 16:59:38   
   
   From: james.harris.1@nospicedham.gmail.com   
      
   On 06/01/2019 08:14, James Harris wrote:   
   > On 04/01/2019 22:58, Rod Pemberton wrote:   
      
   ...   
      
   >> Weren't you attracted to omitting the frame pointer? I.e., ESP only.   
      
   ...   
      
   > So performance is   
   > unimportant and I find the number of registers I need is very small -   
   > normally just EAX and EBX for everything. The only exceptions I can   
   > remember coming across are CL for shifts and EDX for multiply and divide.   
      
   On reflection I realise that needs to be explained! The asm code I am   
   writing generates other asm code. It is the /generated/ code which tends   
   to use just two registers. The code I am writing uses a few more....   
      
   That said, what I am writing is a hand translation of some HLL code I've   
   written, and all of this is sacrificial. The asm translation, therefore,   
   also needs to be simple rather than fast - which makes the whole thing   
   an unusual but welcome exercise: to write asm which focusses on   
   simplicity rather than performance.   
      
      
   --   
   James Harris   
      
   --- 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