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,596 of 4,675   
   Mateusz Viste to Terje Mathisen   
   Re: EXE program stack setup questions   
   16 Oct 18 10:06:17   
   
   From: mateusz@nospicedham.wont.tell   
      
   On Tue, 16 Oct 2018 11:44:43 +0200, Terje Mathisen wrote:   
   > For a Tiny model program, i.e. COM file, you cannot control this, you   
   > will effectively always get a single 64K segment with SP pointing at a   
   > 16-bit word == 0000.   
      
   This may be a stupid question, but is the COM-allocated segment really   
   guaranteed to be 64K in size? What if the largest contiguous available   
   memory block is only, say, 48K in size? Would DOS refuse to load it   
   instead of using whatever is possible?   
      
   Mateusz   
      
   --- 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