| 1 |
; Test case for double macros |
| 2 |
|
| 3 |
processor 6502 |
| 4 |
|
| 5 |
MAC testmac ; the first declaration wins |
| 6 |
lda #1 |
| 7 |
ENDM |
| 8 |
MAC testmac ; the second is silently ignored without the -S flag, but an error with -S |
| 9 |
ldx #1 |
| 10 |
ENDM |
| 11 |
|
| 12 |
ORG $f800 |
| 13 |
|
| 14 |
testmac |
| 15 |
|