Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #3743

Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Benoit0123 <bgilon@free.fr>
Newsgroups comp.sys.apple2.programmer
Subject Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)?
Date Mon, 31 Jul 2017 16:43:53 -0000 (UTC)
Organization Mac GUI
Lines 35
Message-ID <benoit0123-1501519676@macgui.com> (permalink)
References <benoit0123-1501501537@macgui.com> <273d4c75-8b83-4539-87ac-e83ce38ada16@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Mon, 31 Jul 2017 16:43:53 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="ce03014311eb44f05dab64390803d62b"; logging-data="6343"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pUOsUPBElvstE9pGFYEOo"
User-Agent Mac GUI Usenet
In-Reply-To <273d4c75-8b83-4539-87ac-e83ce38ada16@googlegroups.com>
Cancel-Lock sha1:/OnAA7mtZ70abxPo+5qB7Yu27yM=
Xref csiph.com comp.sys.apple2.programmer:3743

Show key headers only | View raw


Marco Verpelli wrote:
> It seems to me that this is the case in the manual on page 87.
> 
> NOTE: The assembler will not permit an EQUate to a zero page number after
> the label equated has been used, since bad code could result from such a
> situation . Also see the section on Variables.
> 
> (1) For Example:
> 
> 1 LABEL LDA #LEN
> 2 LABEL DFB $00
> 3 DFB $01
> 4 LEN EQU * - LABEL
> 
> When assembled, this will give an "ILLEGAL FORWARD REFERENCE IN LINE 4"
> ERROR message. The solution is as follows:
> 
> 1 LDA #END - LABEL
> 2 LABEL DFB $00
> 3 DFB $01
> 4 END
> 
> Marco
>
Thank you Marco, that is exactly that. Shame on I. I should have read the
"not fucking manual" this time too.
BenoƮt



-- 
Growing old is mandatory..
growing up is optional..
But the other way round is as true.

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Benoit0123 <bgilon@free.fr> - 2017-07-31 11:41 +0000
  Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Marco Verpelli <mverpelli@libero.it> - 2017-07-31 05:24 -0700
    Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Benoit0123 <bgilon@free.fr> - 2017-07-31 16:43 +0000
      Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Marco Verpelli <mverpelli@libero.it> - 2017-07-31 10:41 -0700

csiph-web