It looks like they are being assembled to me:
6502user wrote:
Hi. My code is:
ca65 V2.19 - Git 28f892b
Main file : src/Test_new.a65
Current file: src/Test_new.a65
000000r 1
000000r 1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000000r 1 ;PSUMLP -- Page sum macro
000000r 1 ;
000000r 1 ;pre: X contains 0
000000r 1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000000r 1 .macro SUM ADDR
000000r 1 .local PSUMLP
000000r 1 PSUMLP: CLC
000000r 1 ADC ADDR,X
000000r 1 INX
000000r 1 BNE PSUMLP
000000r 1 .endmacro
[/code]
e.g. here in the listing:
Quote:
Code:
00F04A 1 A2 00 LDX #$00
00F04C 1 A9 00 LDA #$00
00F04E 1 18 7D 00 F0 SUM $F000
00F052 1 E8 D0 F9
the SUM macro is expanded.
So I'm not sure what the issue is here.
-Gordon
_________________
--
Gordon Henderson.
See my
Ruby 6502 and 65816 SBC projects here:
https://projects.drogon.net/ruby/