summaryrefslogtreecommitdiff
path: root/asm/asmlex.mll
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 18:33:54 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 18:33:54 +0100
commit2ab6a18d17e0f16f359feafc582f2ff732f34492 (patch)
treea14e83560b4b577313f9ef2fe3f9c0be5220ef0a /asm/asmlex.mll
parentb2c5356b3f6d2e0a836a19b4cae1791d350785d3 (diff)
parente07508129a81605f77ee410ef4db104a96fc44bf (diff)
downloadSystDigit-Projet-2ab6a18d17e0f16f359feafc582f2ff732f34492.tar.gz
SystDigit-Projet-2ab6a18d17e0f16f359feafc582f2ff732f34492.zip
Merge branch 'integration-progressive'
Conflicts: asm/asm.ml asm/asmlex.mll asm/asmpars.mly asm/assembler.ml
Diffstat (limited to 'asm/asmlex.mll')
-rw-r--r--asm/asmlex.mll7
1 files changed, 5 insertions, 2 deletions
diff --git a/asm/asmlex.mll b/asm/asmlex.mll
index 726b732..1c7e3e7 100644
--- a/asm/asmlex.mll
+++ b/asm/asmlex.mll
@@ -28,9 +28,12 @@
"move",MOVE;
"jz",JZ;
"jnz",JNZ;
- "byte",BYTE;
- "word",WORD;
"asciiz",ASCIIZ;
+ "_clock",INT 0x4000;
+ "_input",INT 0x4100;
+ "_output",INT 0x4102;
+ "word",WORD;
+ "byte",BYTE
]
let regs = [