summaryrefslogtreecommitdiff
path: root/asm/asmlex.mll
diff options
context:
space:
mode:
Diffstat (limited to 'asm/asmlex.mll')
-rw-r--r--asm/asmlex.mll7
1 files changed, 6 insertions, 1 deletions
diff --git a/asm/asmlex.mll b/asm/asmlex.mll
index 4d78e87..2bd52fc 100644
--- a/asm/asmlex.mll
+++ b/asm/asmlex.mll
@@ -26,7 +26,12 @@
"li",LI;
"move",MOVE;
"jz",JZ;
- "jnz",JNZ
+ "jnz",JNZ;
+ "_clock",INT 0x4000;
+ "_input",INT 0x4100;
+ "_output",INT 0x4102;
+ "word",WORD;
+ "byte",BYTE
]
let regs = [