Mercurial > hg > index.cgi
diff 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 |
line wrap: on
line diff
--- a/lwasm/lwasm.h Mon Jul 13 20:56:48 2015 -0600 +++ b/lwasm/lwasm.h Mon Jul 13 20:59:02 2015 -0600 @@ -98,7 +98,8 @@ PRAGMA_CD = 1 << 17, // enable detailed cycle count PRAGMA_CT = 1 << 18, // enable cycle count running total PRAGMA_CC = 1 << 19, // clear cycle count running total - PRAGMA_QRTS = 1 << 20 // enable BRA ?RTS support + PRAGMA_QRTS = 1 << 20, // enable BRA ?RTS support + PRAGMA_M80EXT = 1 << 21 // enable Macro-80C assembler extensions }; enum