summaryrefslogtreecommitdiff
path: root/asm/asmlex.mll
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 18:20:58 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 18:20:58 +0100
commit91bc6bd5554bb4267cbaf147e603791e50462242 (patch)
treecc6583bc0e334840ee23e45ef620925b38eb6db1 /asm/asmlex.mll
parentfa2e69bf68346d653d194d863c019674ea0fd7e2 (diff)
downloadSystDigit-Projet-91bc6bd5554bb4267cbaf147e603791e50462242.tar.gz
SystDigit-Projet-91bc6bd5554bb4267cbaf147e603791e50462242.zip
2e mail Emile
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 = [