flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 27 Feb 2006, 11:09
what is SS:SP value, when no stack is reserved in header (no "stack 100h")?
|
|||
![]() |
|
vid 28 Feb 2006, 00:36
oh... and what happens at "stack 0"? is ss:sp just pointer to some invalid area?
|
|||
![]() |
|
Filter 26 Oct 2006, 01:15
vid wrote: oh... and what happens at "stack 0"? is ss:sp just pointer to some invalid area? Don't EXE files require a stack of some sort? Maybe "stack 0" provides enough for it. |
|||
![]() |
|
Goplat 26 Oct 2006, 01:42
fasm does not allow "stack 0", but if you put a 0 in the SP field of the header the stack pointer does indeed start at 0. Of course, it would wrap around when you used it, and if not enough extra memory was allocated for a 64kB stack you would be overwriting some stuff in memory.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.