comparison lwasm/cycle.c @ 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 b0ec15f95563
children 4c8925f97eb5
comparison
equal deleted inserted replaced
384:6ee9c67a0f8d 385:4fd16faa4d93
236 236
237 { 0x03, 6, 5, 0 }, // COM 237 { 0x03, 6, 5, 0 }, // COM
238 { 0x63, 6, 6, CYCLE_ADJ }, 238 { 0x63, 6, 6, CYCLE_ADJ },
239 { 0x73, 7, 6, 0 }, 239 { 0x73, 7, 6, 0 },
240 240
241 { 0x3c, 22, 20, 0 }, // CWAI 241 { 0x3c, 22, 20, CYCLE_ESTIMATED }, // CWAI
242 242
243 { 0x19, 2, 1, 0 }, // DAA 243 { 0x19, 2, 1, 0 }, // DAA
244 244
245 { 0x4a, 2, 1, 0 }, // DECA 245 { 0x4a, 2, 1, 0 }, // DECA
246 { 0x5a, 2, 1, 0 }, // DECB 246 { 0x5a, 2, 1, 0 }, // DECB