delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/03/20:41:20

Date: Mon, 3 Nov 1997 17:38:57 -0800 (PST)
Message-Id: <199711040138.RAA11022@adit.ap.net>
Mime-Version: 1.0
To: "J.A. Bijsterbosch" <bijster AT worldonline DOT nl>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Syntax differences between TASM and NASM

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019