diff lwasm/instab.c @ 160:b061350c17e4

Added cescapes pragma and a few other compatibility pseudo ops
author lost
date Sat, 31 Jan 2009 06:33:03 +0000
parents f0527dc3804d
children 12fb4e8d5236
line wrap: on
line diff
--- a/lwasm/instab.c	Sat Jan 31 06:32:27 2009 +0000
+++ b/lwasm/instab.c	Sat Jan 31 06:33:03 2009 +0000
@@ -389,10 +389,27 @@
 	{ ".globl",	{ -1, -1, -1, -1}, 	pseudo_export },
 	{ ".module",	{ -1, -1, -1, -1},	pseudo_noop },
 	
+	{ ".4byte",	{ -1, -1, -1, -1},	pseudo_fqb },
+	{ ".quad",	{ -1, -1, -1, -1},	pseudo_fqb },
+	
 	{ ".word",	{ -1, -1, -1, -1},	pseudo_fdb },
+	{ ".dw",	{ -1, -1, -1, -1},	pseudo_fdb },
+
 	{ ".byte",	{ -1, -1, -1, -1},	pseudo_fcb },
+	{ ".db",	{ -1, -1, -1, -1},	pseudo_fcb },
+
+	{ ".ascii",	{ -1, -1, -1, -1},	pseudo_fcc },
+	{ ".str",	{ -1, -1, -1, -1},	pseudo_fcc },
+	
+	{ ".ascis",	{ -1, -1, -1, -1},	pseudo_fcs },
+	{ ".strs",	{ -1, -1, -1, -1},	pseudo_fcs },
+	
+	{ ".asciz",	{ -1, -1, -1, -1},	pseudo_fcn },
+	{ ".strz",	{ -1, -1, -1, -1},	pseudo_fcn },
 	
 	{ ".blkb",	{ -1, -1, -1, -1},	pseudo_rmb },
+	{ ".ds",	{ -1, -1, -1, -1},	pseudo_rmb },
+	{ ".rs",	{ -1, -1, -1, -1},	pseudo_rmb },
 
 // needs to handle C escapes maybe?
 //	{ ".ascii",	{ -1, -1, -1, -1},	pseudo_ascii },