Clean code and add extras instructions

This commit is contained in:
Loic GUEGAN 2018-08-31 20:11:10 +02:00
parent ea840b6615
commit 679b25a874
4 changed files with 46 additions and 10 deletions

View file

@ -22,3 +22,7 @@ ijvm=dict({
"SWAP":0x5F,
"WIDE":0xC4
})
# Add extras instructions
ijvm["OUT"]=0x23 # Print next byte as char
ijvm["HALT"]=0x2F # Stop simulator