macro with acme does not work.

You need an actual VIC.

Moderator: Moderators

Post Reply
funkheld
Vic 20 Devotee
Posts: 241
Joined: Tue Sep 10, 2019 4:23 am

macro with acme does not work.

Post by funkheld »

Hi good afternoon.

macro with acme does not work.

It should come out "7", but it comes "4"

why please.

thanks.
greeting

Code: Select all

!to "macro1.p", cbm

*=8192

!macro plus Q,W {
	!set .W = Q + W
}

start

+plus 3,4

lda #4
sta 37888

lda #W
sta 4096

rts
User avatar
Schlowski
NoMess!
Posts: 892
Joined: Tue Jun 08, 2004 12:20 pm

Re: macro with acme does not work.

Post by Schlowski »

It's a dot too much or a dot missing.

You set .W in your macro but use W in your program.
Post Reply