comparison lwasm/pragma.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 6ee9c67a0f8d
children 6153cb49403c
comparison
equal deleted inserted replaced
384:6ee9c67a0f8d 385:4fd16faa4d93
68 { "cc", "nocc", PRAGMA_CC }, 68 { "cc", "nocc", PRAGMA_CC },
69 { "cd", "nocd", PRAGMA_CD }, 69 { "cd", "nocd", PRAGMA_CD },
70 { "ct", "noct", PRAGMA_CT }, 70 { "ct", "noct", PRAGMA_CT },
71 { "qrts", "noqrts", PRAGMA_QRTS }, 71 { "qrts", "noqrts", PRAGMA_QRTS },
72 { "m80ext", "nom80ext", PRAGMA_M80EXT }, 72 { "m80ext", "nom80ext", PRAGMA_M80EXT },
73 { "6809conv", "no6809conv", PRAGMA_6809CONV },
74 { "6309conv", "no6309conv", PRAGMA_6309CONV },
73 { 0, 0, 0 } 75 { 0, 0, 0 }
74 }; 76 };
75 77
76 int parse_pragma_helper(char *p) 78 int parse_pragma_helper(char *p)
77 { 79 {