www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/03/15:45:40

From: "J.A. Bijsterbosch" <bijster AT worldonline DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Syntax differences between TASM and NASM
Date: 3 Nov 1997 18:02:23 GMT
Organization: Bijsterbosch Productions
Lines: 51
Message-ID: <01bce882$33992bc0$LocalHost@none>
References: <199710300138 DOT RAA10760 AT adit DOT ap DOT net>
NNTP-Posting-Host: asd1-p187.worldonline.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello Nate,

First of all, thanks to you and others for their prompt responses. 
The double periods in front of the local labels some mentioned where a
bonus from uncle Bill's mail & news program I use and are not in the
original source. ;-))

Nate Eldredge <eldredge AT ap DOT net> schreef in artikel
<199710300138 DOT RAA10760 AT adit DOT ap DOT net>...
> At 06:08  10/29/1997 GMT, J.A. Bijsterbosch wrote:
> >Hello All,
> >
[ big snip ]
> >I have been digging through nasm.doc to see if there where replacements
for
> >these, and found some solutions with which the revised code compiles
> >alright, but
> >since I'm a total newbie in assembler and it's terminology still, It
would
> >be nice if someone could tell whether the two following code snippets
> >evolve
> >to the same result and functionality.
> [snipped]
> >        ADD     DL,"0"              		; Yes, convert to a digit
> You might want to check that this quoting is correct. I haven't used NASM
> lately, but I think that double-quotes might indicate a string, not a
> character constant like you want.

The Nasm doc states one can use either single or double quotes for this
purpose if I understood correctly.

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.

How is this done in NASM ?

> Nate Eldredge
> eldredge AT ap DOT net

-- 
Greetings from overcast Amsterdam,

    Jan Bijsterbosch

email: bijster AT worldonline DOT nl
http://www.worldonline.nl/~bijster

- Raw text -


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