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,575 of 4,675   
   R.Wieser to All   
   Re: EXE program stack setup questions   
   13 Oct 18 16:25:25   
   
   From: address@nospicedham.not.available   
      
   Steve,   
      
   > If I needed a tiny program I would just use a COM file.   
      
   You do realize that a COM style program can be put in a fragment of free   
   memory that is large enough for the code+data image, but not large enough   
   for its further uninitialized data (BSS) requirements ?     That means that   
   you could load and start a COM style program, only to have it fail when it   
   tries to resize.   
      
   EXE style tiny memory models do have their perks.   
      
   And yes, I've been programing COM style programs for quite a few years now.   
   Normally I even initialize SP to 0100h.   I mean, about 00A0h bytes of stack   
   should be enough for .. well, most small-style programs. :-)   
      
   Regards,   
   Rudy Wieser   
      
   --- 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