delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/31/22:41:44

From: Sugree Phatanapherom <ioisgp AT std DOT cpc DOT ku DOT ac DOT th>
Newsgroups: comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.djgpp
Subject: Re: NASM
Date: Sat, 1 Feb 1997 08:29:57 -0700
Organization: Kasetsart University
Lines: 51
Message-ID: <Pine.GSO.3.95.970201081138.1000A-100000@std.cpc.ku.ac.th>
References: <Pine DOT GSO DOT 3 DOT 95 DOT 970117233047 DOT 15969A-100000 AT nontri DOT ku DOT ac DOT th> <5boris$t6v AT lyra DOT csx DOT cam DOT ac DOT uk>
Reply-To: Sugree Phatanapherom <ioisgp AT std DOT cpc DOT ku DOT ac DOT th>
NNTP-Posting-Host: ioisgp AT std DOT cpc DOT ku DOT ac DOT th
Mime-Version: 1.0
In-Reply-To: <5boris$t6v@lyra.csx.cam.ac.uk>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 17 Jan 1997, Simon Tatham wrote:

> Yes, it is. The pre-built DOS executables in the NASM 0.90 and 0.91
> archives were compiled without nearly enough stack, because I wasn't
> thinking very hard when I did it.
> 
> 0.92 should be appearing on Simtel mirrors in a few days' time, and
> won't exhibit this problem any more. If you need it before then, you
> can get 0.92 immediately from ftp://yoda.trin.cam.ac.uk/pub/simon.

I have never used 0.92 because I just get 0.93 already :) Old problem, 
however, occured n 0.93 as 0.91. Expression had been computed fine if
there were 3 terms of numeric or variable.

	times 512-$ db 0
or
	times (512-$) db 0

It doesn't work correctly, compiler told non-constant was in parameter.

buffer:
	times 512-$+buffer db 0

Above command worked fine, no more error.
So I had to fake reference label to use for 'times' command.

[org 0]

start:

	<code>

	times 512-$+start db 0

Just declare 'start' label, in fact 'start' value to zero. zero should be
able to replace to 'start'. No, 3rd term must be LABEL only.

	times 512-$+0 db 0

If you replaced 'start' to '0', error message would occur on your monitor.

I hope all problem is fixed soon.

--
Sugree Phatanapherom                     Everything you do today may
ioisgp AT std DOT cpc DOT ku DOT ac DOT th                  take effect tomorrow.
http://203.155.125.134/~sugreep/
http://std.cpc.ku.ac.th/~ioisgp/
http://www.geocities.com/Tokyo/4744/


- Raw text -


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