summaryrefslogtreecommitdiff
path: root/asm/asm.ml
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 18:19:21 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 18:19:21 +0100
commit1f228ce77e8a71475930b433fb2c72521203aa99 (patch)
tree8a9db2a92abb2265905b737bc935f6b299f1fb95 /asm/asm.ml
parentfa2e69bf68346d653d194d863c019674ea0fd7e2 (diff)
downloadSystDigit-Projet-1f228ce77e8a71475930b433fb2c72521203aa99.tar.gz
SystDigit-Projet-1f228ce77e8a71475930b433fb2c72521203aa99.zip
Petites modifications
Diffstat (limited to 'asm/asm.ml')
-rw-r--r--asm/asm.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/asm.ml b/asm/asm.ml
index 5a3a96b..7df7604 100644
--- a/asm/asm.ml
+++ b/asm/asm.ml
@@ -1,3 +1,5 @@
+exception Asm_error of string
+
type reg = int
type imm =
@@ -55,6 +57,7 @@ type instr =
| Liu of (reg * imm)
| Liuz of (reg * imm)
| Lra of imm
+ | TwoRawBytes of (int * int)
module Imap = Map.Make(String)