Mail Archives: djgpp/1997/11/03/20:41:20
At 06:02 11/3/1997 GMT, J.A. Bijsterbosch wrote:
>However I've now stumbled on a TASM directive that I do not seem to get to
>work in NASM. That directive is .STACK obviously needed to create .exe
>files.
>I have read nasm.doc over and over again, but I can't find anything about
>that.
>There's info about floating point stacks and macro stacks, but nothing how
>to set the SS and the SP register.
TASM's .STACK directive is a shorthand which declares a stack segment and
gives it a certain size. I don't know how you do it in NASM, and I think it
may also depend on what linker you use. (You need a linker to make EXE's,
and for COM's created by NASM, you don't need an explicit stack.)
Also, I think this is getting rather off topic for comp.os.msdos.djgpp.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -