aboutsummaryrefslogtreecommitdiff
path: root/components/ijvm.py
diff options
context:
space:
mode:
authorLoic GUEGAN <loic.guegan@yahoo.fr>2018-08-31 20:11:10 +0200
committerLoic GUEGAN <loic.guegan@yahoo.fr>2018-08-31 20:11:10 +0200
commit679b25a874d2dc2b12781c340f4eb58de8247e91 (patch)
treea459d3d8fe83e028de252254dec07d058e5e6444 /components/ijvm.py
parentea840b6615777ddf1da47969be619be4c823207e (diff)
Clean code and add extras instructions
Diffstat (limited to 'components/ijvm.py')
-rw-r--r--components/ijvm.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/ijvm.py b/components/ijvm.py
index b8ca8a2..97fb6bd 100644
--- a/components/ijvm.py
+++ b/components/ijvm.py
@@ -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