Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #3743
| 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 | 2017-07-31 16:43 +0000 |
| Organization | Mac GUI |
| Message-ID | <benoit0123-1501519676@macgui.com> (permalink) |
| References | <benoit0123-1501501537@macgui.com> <273d4c75-8b83-4539-87ac-e83ce38ada16@googlegroups.com> |
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
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