aboutsummaryrefslogtreecommitdiffstats
path: root/asm/ffi.py
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2023-02-12 18:06:08 +0000
committerGravatar Peter McGoron 2023-02-12 18:06:08 +0000
commit7b3eaf9b4f9aaec02ce63be638de373397fa9460 (patch)
tree8231125e0b6d1dad534fae72fe9880ba1bda33cb /asm/ffi.py
parentjump tests (diff)
add pseudoinstructions that compile to regular instructions
Diffstat (limited to 'asm/ffi.py')
-rw-r--r--asm/ffi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/asm/ffi.py b/asm/ffi.py
index ba327bf..ccbe40d 100644
--- a/asm/ffi.py
+++ b/asm/ffi.py
@@ -22,10 +22,11 @@ class RunRet(Enum):
STOP = 2
STACK_OVERFLOW = 3
STACK_UNDERFLOW = 4
- RUN_LABEL_OVERFLOW = 5
+ LABEL_OVERFLOW = 5
REGISTER_OVERFLOW = 6
UNKNOWN_OPCODE = 7
DIVIDE_BY_ZERO = 8
+ HIGH_BIT_MALFORMED = 9
def is_halt(self):
return not (self == RunRet.CONTINUE or self == RunRet.SYSCALL)