comparison lwasm/lwasm.h @ 379:d791d47afc48

Add m80ext pragma for Macro-80C compatibility and ignore END in includes For compatibility with Macro-80C source, add pragma for it. Also implement ignoring END in include files rather than treating it as the total end of assembly. Thanks to Erik G <erik@6809.org> for the patch.
author William Astle <lost@l-w.ca>
date Mon, 13 Jul 2015 20:59:02 -0600
parents 67373a053c49
children 17fcd0c3ee45
comparison
equal deleted inserted replaced
378:b0ec15f95563 379:d791d47afc48
96 PRAGMA_TESTMODE = 1 << 15, // enable test mode (for internal unit testing) 96 PRAGMA_TESTMODE = 1 << 15, // enable test mode (for internal unit testing)
97 PRAGMA_C = 1 << 16, // enable cycle counts 97 PRAGMA_C = 1 << 16, // enable cycle counts
98 PRAGMA_CD = 1 << 17, // enable detailed cycle count 98 PRAGMA_CD = 1 << 17, // enable detailed cycle count
99 PRAGMA_CT = 1 << 18, // enable cycle count running total 99 PRAGMA_CT = 1 << 18, // enable cycle count running total
100 PRAGMA_CC = 1 << 19, // clear cycle count running total 100 PRAGMA_CC = 1 << 19, // clear cycle count running total
101 PRAGMA_QRTS = 1 << 20 // enable BRA ?RTS support 101 PRAGMA_QRTS = 1 << 20, // enable BRA ?RTS support
102 PRAGMA_M80EXT = 1 << 21 // enable Macro-80C assembler extensions
102 }; 103 };
103 104
104 enum 105 enum
105 { 106 {
106 section_flag_bss = 1, // BSS section 107 section_flag_bss = 1, // BSS section