comparison lwasm/lwasm.h @ 385:4fd16faa4d93

Add various "convenience" ops These are things like "NEGD" in 6809 mode or NEGQ in 6309 mode. These require either 6809conv or 6309conv pragmas. Also fix a problem with "CPX" in the 6800 mode. Thanks to Erik G <erik@6809.org> for the patch.
author William Astle <lost@l-w.ca>
date Mon, 13 Jul 2015 21:26:34 -0600
parents 6ee9c67a0f8d
children 221b5f58d8ad
comparison
equal deleted inserted replaced
384:6ee9c67a0f8d 385:4fd16faa4d93
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 PRAGMA_M80EXT = 1 << 21, // enable Macro-80C assembler extensions
103 PRAGMA_6809CONV = 1 << 22, // enable 6809 convenience ops
104 PRAGMA_6309CONV = 1 << 23, // enable 6309 convenience ops
103 PRAGMA_CLEARBIT = 1 << 31 // reserved to indicate negated pragma flag status 105 PRAGMA_CLEARBIT = 1 << 31 // reserved to indicate negated pragma flag status
104 }; 106 };
105 107
106 enum 108 enum
107 { 109 {