diff lwasm/lwasm.h @ 442:a9521955554f 3.0

Added pragma pcaspcr to treat PC as PCR; additional fixes for PCR addressing modes
author lost@l-w.ca
date Sat, 30 Oct 2010 12:15:00 -0600
parents 4b137a8cf32a
children
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sat Oct 30 11:51:25 2010 -0600
+++ b/lwasm/lwasm.h	Sat Oct 30 12:15:00 2010 -0600
@@ -75,7 +75,8 @@
 	PRAGMA_NOINDEX0TONONE = 0x0002,		// do not change implicit 0,R to ,R
 	PRAGMA_UNDEFEXTERN = 0x0004,		// undefined symbols are considered to be external
 	PRAGMA_CESCAPES = 0x0008,			// allow C style escapes in fcc, fcs, fcn, etc.
-	PRAGMA_IMPORTUNDEFEXPORT = 0x0010	// imports symbol if undefined upon export
+	PRAGMA_IMPORTUNDEFEXPORT = 0x0010,	// imports symbol if undefined upon export
+	PRAGMA_PCASPCR = 0x0020				// treats ,PC as ,PCR instead of constant offset
 };