diff options
| author | 2023-02-12 18:06:08 +0000 | |
|---|---|---|
| committer | 2023-02-12 18:06:08 +0000 | |
| commit | 7b3eaf9b4f9aaec02ce63be638de373397fa9460 (patch) | |
| tree | 8231125e0b6d1dad534fae72fe9880ba1bda33cb /asm/ffi.py | |
| parent | jump tests (diff) | |
add pseudoinstructions that compile to regular instructions
Diffstat (limited to 'asm/ffi.py')
| -rw-r--r-- | asm/ffi.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
