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,749 of 4,675   
   Rod Pemberton to James Harris   
   Re: Locals, parameters, callee-save regi   
   03 Jan 19 16:12:33   
   
   From: invalid@nospicedham.lkntrgzxc.com   
      
   On Thu, 3 Jan 2019 07:31:34 +0000   
   James Harris  wrote:   
      
   > Speaking of which, to make sure practice matched theory I changed my   
   > recently written Nasm procedure entry and exit macros to push   
   > callee-saves before EBP - and it works. No surprise, I guess, but   
   > it's good to prove it with some real code. FWIW, with six x86-32   
   > registers saved (all except EAX and ESP) that places the first real   
   > argument at EBP+28.   
   >   
      
   So, you now have a basis of comparison - albeit limited - which could   
   be used to provide a preliminary answer your own question.   
      
   Other than a reordering of instructions and stack items, is there any   
   advantage or disadvantage between the two methods?   
      
   Since that test was so easy, is there any reason why you can't attempt   
   another dozen configurations on your own?   
      
      
   Rod Pemberton   
   --   
   Isn't the SpaceX car, space junk? Elon Musk, space polluter.   
      
   --- 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