improve error handling
This commit is contained in:
parent
5ad6baa30d
commit
a4a027b448
1 changed files with 238 additions and 112 deletions
13
samples/all_instructions.ei
Normal file
13
samples/all_instructions.ei
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
add 1 2 r0
|
||||
add r0 r1 r0
|
||||
mod r0 10 r1
|
||||
div 100 r1 r1
|
||||
nop
|
||||
put 42 r1
|
||||
put r1 r0
|
||||
sub 10 5 r1
|
||||
sub r1 r1 r1
|
||||
teq r1 r1
|
||||
tlt r0 r1
|
||||
tze r1
|
||||
jze r0 r1
|
||||
Loading…
Reference in a new issue