updated virtual machine routines

This commit is contained in:
hellerve
2015-06-16 10:47:01 +02:00
parent 45fd79cf16
commit 9b55ee0f54
5 changed files with 117 additions and 57 deletions

View File

@@ -1,21 +1,21 @@
ENTRY 22
LOAD -3
ICONST 2
ILT
CONST 2
LT
BRF 10
ICONST 1
CONST 1
RET
LOAD -3
LOAD -3
ICONST 1
ISUB
CONST 1
SUB
CALL 0 1
IMULT
MULT
RET
ICONST 12
CONST 12
CALL 0 1
IPRINT
ICONST 10
CONST 10
PRINT
HALT