diff src/lwasm.h @ 46:b962cee20bf4

Ported output modules forward from old version
author lost
date Sun, 04 Jan 2009 07:07:00 +0000
parents 2330b88f9600
children 21ae0fab469b
line wrap: on
line diff
--- a/src/lwasm.h	Sun Jan 04 06:54:58 2009 +0000
+++ b/src/lwasm.h	Sun Jan 04 07:07:00 2009 +0000
@@ -29,7 +29,7 @@
 #define OUTPUT_DECB		0	// DECB multirecord format
 #define OUTPUT_RAW		1	// raw sequence of bytes
 #define OUTPUT_OBJ		2	// proprietary object file format
-
+#define OUTPUT_RAWREL	3	// raw bytes where ORG causes a SEEK in the file
 
 // structure for tracking errors
 typedef struct lwasm_error_s lwasm_error_t;
@@ -54,6 +54,7 @@
 	int codelen;		// number of bytes emitted
 	int codesize;		// the size of the code buffer
 	int codeaddr;		// address the code goes at
+	int nocodelen;		// for "RMB" type instructions
 };
 
 // for keeping track of symbols