summaryrefslogtreecommitdiff
path: root/6/asm.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-12-13 23:21:11 -0800
committerOri Bernstein <ori@eigenstate.org>2014-12-13 23:21:44 -0800
commit24a3d753f2ac998c0b10579191984d79cfed0b7d (patch)
tree1b9733502a435451ce5ecf8785c14bbe1fc6705a /6/asm.h
parent008887ccd998a43db6980fa57f1e210ec26c4acf (diff)
downloadmc-24a3d753f2ac998c0b10579191984d79cfed0b7d.tar.gz
Add plan9 instruction formats.
Work towards a plan9 port. This commit also fixes a bug with strings that contain '\0'. The commits got tangled, and I'm too lazy to detangle them.
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/6/asm.h b/6/asm.h
index 1639988..f6372a3 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -14,7 +14,7 @@ typedef struct Isel Isel;
typedef struct Asmbb Asmbb;
typedef enum {
-#define Insn(val, fmt, use, def) val,
+#define Insn(val, gasfmt, p9fmt, use, def) val,
#include "insns.def"
#undef Insn
} AsmOp;