Hello!
I tried the source code fragments provided with all release versions of past 6 years without success.
Please try to reduce the source code to a minimal but complete example which reproduces this behaviour. The version number and command line options may be interesting as well.
Thanks!
Code:
; 64tass Turbo Assembler Macro V1.54.2095 listing file
; 64tass --verbose-list -L listing.txt test.asm
; Mon Nov 18 21:08:15 2019
;Offset ;Hex ;Monitor ;Source
;****** Processing input file: a.asm
=1 MODREGS = 1
=1 MODLOAD = 1
=0 MODEXIT = 0
DEFPKG .MACRO CMD, FILE
.ENDM
*=$1000
.1000 CMDREGS
.IF MODREGS
.INCLUDE "commands/" .. "regs" .. ".asm"
;****** Processing file: commands/regs.asm
.1000 ea nop NOP
.1001 60 rts RTS
;****** Return to file: a.asm
.ENDIF
.1002 ea nop NOP
.1003 20 00 10 jsr $1000 JSR CMDREGS
>1006 00 10 .ADDR CMDREGS
;****** End of listing