This bug are for the assembler, SDASxxx. Tryed with SDASZ80, but i think it's common for all the assemblers.
Assembler version: sdas Assembler V05.50.4+NoICE+SDCCmods-WIP-R14 (Zilog Z80 / Hitachi HD64180 / ZX-Next / eZ80 / R800).
Installed from sdcc-20260715-16701-x64-setup.exe.
Windows10 64 bit.
I have a Routine.asm file that includes two other files.
I have placed .NLIST and .LIST directives around the .INCLUDE statements.
However, comments and blank lines from the include files are appearing in Routine.lst.
Routine.asm:
...
.NLIST
.INCLUDE "Include1.inc" <--- comments and blank lines are in the .lst file
.INCLUDE "Include2.inc" <--- comments and blank lines are in the .lst file
.LIST
...
Assembler command: SDASZ80 -loap Routine.asm
I have tryed the ASxxxx Ver.6 assembler, and that works, nothing are included in the .lst file between .NLIST and .LIST