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,730 of 4,675   
   Mike Gonta to James Harris   
   Re: Locals, parameters, callee-save regi   
   01 Jan 19 15:37:02   
   
   From: mikegonta@nospicedham.gmail.com   
      
   James Harris wrote:   
   > So the basic query is: if given free rein on x86 how would you recommend   
   > storing callee-save registers and locals while providing convenient   
   > access to stack-based parameters?   
      
   Use a stack frame which contains the saved registers, local parameters and   
   the maximum number of called function arguments all of which (including   
   the function's parameters) are accessed by MOV (no PUSH/POP) with ESP.   
      
      
   Mike Gonta   
   look and see - many look but few see   
      
   http://mikegonta.com   
      
   --- 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