Mad-Assembler icon indicating copy to clipboard operation
Mad-Assembler copied to clipboard

Inconsistency in EOLs in generated files

Open jhusak opened this issue 7 months ago • 4 comments

Example test.asm:

        org $2000
main    nop
@       nop

assemble mads test.asm -hc

The result is:

#ifndef _TEST_ASM_H_
#define _TEST_ASM_H_^M

#define TEST_MAIN 0x2000
#define TEST_0@ 0x2001
^M
#endif

where ^M is 0xD additional ascii code (some are 0xa and some 0xd0xa)

jhusak avatar Jul 12 '24 13:07 jhusak