From 679b25a874d2dc2b12781c340f4eb58de8247e91 Mon Sep 17 00:00:00 2001 From: Loic GUEGAN Date: Fri, 31 Aug 2018 20:11:10 +0200 Subject: Clean code and add extras instructions --- components/ijvm.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/ijvm.py') 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 -- cgit v1.2.3