I'm doing some tests with your latest version (v2.2.5)
Silly program:
Code: Select all
;
; a: AUTOEXEC: 0 / 4
; t: Nom du programme
;
#define TAPE_HEADER(a,t) .db $16, $16, $16, $16, $24, $ff, $ff, $80, a, >end, <end, >start, <start, $09, t, $00
#define TAPE_HEADER_BUG(t,a) .db $16, $16, $16, $16, $24, $ff, $ff, $80, a, >end, <end, >start, <start, $09, t, $00
#define TAPE_TITLE "BRK-HANDLER"
#define AUTOEXEC $04
TAPE_HEADER(AUTOEXEC,TAPE_TITLE)
TAPE_HEADER_BUG(TAPE_TITLE,AUTOEXEC)
start:
lda #$01
rts
end:
With original XA, I need to use the command
xa -M test.s because of chacracter ':' in comments (MASM compatibility) but it failed with:
Code: Select all
TAPE_HEADER_BUG(TAPE_TITLE,AUTOEXEC)
test.s:line 21: 101a:Syntax error
Never found why
TAPE_HEADER_BUG(TAPE_TITLE,AUTOEXEC) failed and
TAPE_HEADER_BUG("BRK-HANDLER",AUTOEXEC) pass...
With your version, if I use the same command, it fails too but not for the same reason:
Code: Select all
xAss65: Pass 1: test.s
start:
test.s(23): 1034:Syntax error
end:
test.s(26): 1037:Syntax error
But pass if I type
xa test.s without '-M'...
The good news is: your version can pass this test
The not so bad news are: I don't understand the error with your version and '-M' option and why this option is not needed in this case?