Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!qantel!ihnp4!houxm!mtuxo!mtune!mtuni!jjp From: jjp@mtuni.UUCP (John Pittas) Newsgroups: net.micro.cbm Subject: C64 Macro Assembler Question Message-ID: <273@mtuni.UUCP> Date: Mon, 6-Oct-86 18:53:49 EDT Article-I.D.: mtuni.273 Posted: Mon Oct 6 18:53:49 1986 Date-Received: Tue, 7-Oct-86 23:37:37 EDT Distribution: net Organization: AT&T ISL Middletown NJ USA Lines: 27 I was recently attempting to use the macro capabilities of the Commodore 64 Assembler and could not get it to work. Every time I tried to assemble the code I got a "Duplicate Symbol" error message. Perhaps someone can tell me what I was doing wrong. Here's what I tried (this was to be a macro to print a string terminated by a null): .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 I tried numerous variations of this, and every time got the DUPLICATE SYMBOL error message with the little arrow pointing at the word PRINT in the PRINT TEXT line. What am I doing wrong? HELP!!!! Thanks in advance. John Pittas ...!inhp4!mtuni!jjp ATTIS, Middletown, NJ (201)957-2305