Mad-Assembler
Mad-Assembler copied to clipboard
Inconsistency in EOLs in generated files
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)