Re: A83: Out of Range.


[Prev][Next][Index][Thread]

Re: A83: Out of Range.




.db exit = Relative address of exit (like jr)
.dw exit = Absolute address of exit (like jp... or ld (...),...)

--Robin Kay--

James Matthews wrote:

> Hi all,
>
> For those of you that know ZDS (or for those of you that don't, but can figure out what
> its talking about...) here is an error I've been getting:
>
> ZMA-E0069 Error: Relocatable address expression out of range
>
> For a line like:
>
>  db "Exit",0,0,0,0,0,0,0,0,0,0,Exit
>
> Where Exit is a label (in this case) about 10-12 lines up. Now, I can see why a similar
> message might happen for a JR statement, but not in a DB?...what's up?
>
> Cheers,
>
> James.
>
> - James Matthews
> Generation5: http://www.generation5.org/
> "...At the forefront of Artificial Intelligence..."



Follow-Ups: References: