diff 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
line wrap: on
line diff
--- a/lwasm/cycle.c	Mon Jul 13 21:20:30 2015 -0600
+++ b/lwasm/cycle.c	Mon Jul 13 21:26:34 2015 -0600
@@ -238,7 +238,7 @@
 	{ 0x63, 6, 6, CYCLE_ADJ },
 	{ 0x73, 7, 6, 0 },
 
-	{ 0x3c, 22, 20, 0 },				// CWAI
+	{ 0x3c, 22, 20, CYCLE_ESTIMATED },	// CWAI
 
 	{ 0x19, 2, 1, 0 },					// DAA