Re: [stella] DASM question

Subject: Re: [stella] DASM question
From: Eckhard Stolberg <Eckhard_Stolberg@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Sep 1999 14:31:28 +0200
At 18:47 14.09.99 -0700, you wrote:

> SEG.U ram
> ORG $80
>
>ramchunk ds [endchunk - startchunk + 1]
>variable ds 1   ;   These two lines will give me
>value    ds 1   ;   Label Mismatch errors

endchunk and startchunk are defined after this, so in the first pass
DASM can't resolve the fist declaration. This means the labels will
be assigned the following values:
ramchunk = 0080
variable = 0080
value    = 0081

In the second pass the declaration can be resolved and the labels
will be assigned the following values:
ramchunk = 0080
variable = 0087 (depends on the size of the data chunk)
value    = 0088
This is a mismatch from the previous pass and DASM reports that.
The binary will come out fine nevertheless. So there is no reason
to worry.


Ciao, Eckhard Stolberg



--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

Current Thread