diff options
Diffstat (limited to 'runtime_32.S')
-rw-r--r-- | runtime_32.S | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime_32.S b/runtime_32.S new file mode 100644 index 0000000..50117f1 --- /dev/null +++ b/runtime_32.S @@ -0,0 +1,17 @@ + + +invalid_msg: + .asciz "Invalid instruction at %X\n" + + .global m68k_invalid +m68k_invalid: + push %ecx + push invalid_msg + xor %eax, %eax + call printf + push $1 + call exit + + + + |