Article View: net.micro.cbm
Article #2327Re: C64 Macro Assembler Question
From: Fred Bowen
Date: Wed, 08 Oct 1986 16:24
Date: Wed, 08 Oct 1986 16:24
27 lines
1312 bytes
1312 bytes
> I was recently attempting to use the macro capabilities
> of the Commodore 64 Assembler and could not get it to work.
...
> .MAC PRINT
> LDY #0
> ?2 LDA ?1,Y
> CMP #0
> BEQ ?3
> JSR $FFD2
> INY
> JMP ?2
> ?3 .MND
>
> PRINT TEXT
> TEXT .BYTE 'THIS IS A TEST',$0D,0
This example assembles fine. You either have a very old version of the
assembler or there is a problem in some other part of your program. The
version I used is C64101 V080282. Be sure the macro definition of PRINT
occurs _before_ any other use of the symbol PRINT, else the error you
mentioned will pop up as it should.
--
Fred Bowen uucp: {ihnp4|seismo|caip}!cbmvax!fred
arpa: cbmvax!fred@seismo.CSS.GOV
tele: 215 431-9100
Commodore Electronics, Ltd., 1200 Wilson Drive, West Chester, PA, 19380
Technical Details
Message-ID:
<852@cbmvax.cbmvax.cbm.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!caip!cbmvax!fredReferences:
<273@mtuni.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!caip!cbmvax!fred From: fred@cbmvax.cbm.UUCP (Fred Bowen) Newsgroups: net.micro.cbm Subject: Re: C64 Macro Assembler Question Message-ID: <852@cbmvax.cbmvax.cbm.UUCP> Date: Wed, 8-Oct-86 12:24:46 EDT Article-I.D.: cbmvax.852 Posted: Wed Oct 8 12:24:46 1986 Date-Received: Wed, 8-Oct-86 22:35:52 EDT References: <273@mtuni.UUCP> Organization: Commodore Technology, West Chester, PA Lines: 27