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,755 of 4,675   
   Rod Pemberton to R.Wieser   
   Re: Manners everyone!   
   04 Jan 19 17:56:17   
   
   From: invalid@nospicedham.lkntrgzxc.com   
      
   On Fri, 4 Jan 2019 10:16:16 +0100   
   "R.Wieser"  wrote:   
      
   > What is is not responding to a straight-forward questions (I *still*   
   > have not heard why that "maximum # of arguments" count should be on   
   > the stack for, or if its even there to begin with and not just a   
   > mistake by Mike), as well as remarks toward its general functioning.   
   >   
      
   Mike tends to post once and go.  At least, he's been doing so on   
   alt.os.development for a few years now.   
      
   Anyway, he suggested using ESP only.  So, he's omitted using the frame   
   pointer EBP.  He also said no PUSHes or POPs, only MOVs.   
      
   How do you find the prior stackframe without having saved it via EBP?   
   How do you clean up the stack without PUSHes and POPs?   
      
   So, he's likely using using the "maximum # of arguments" count to   
   either manually restore ESP, or using a "RET imm16" instruction for   
   stack cleanup.   
      
   This should be similar to -fomit-frame-pointer for GCC.   
      
      
   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