Updated repository
This commit is contained in:
1
test/argc_fail
Normal file
1
test/argc_fail
Normal file
@@ -0,0 +1 @@
|
||||
LOAD
|
1
test/command_fail
Normal file
1
test/command_fail
Normal file
@@ -0,0 +1 @@
|
||||
UNKNOWN
|
21
test/factorial
Normal file
21
test/factorial
Normal file
@@ -0,0 +1,21 @@
|
||||
ENTRY 22
|
||||
LOAD -3
|
||||
ICONST 2
|
||||
ILT
|
||||
BRF 10
|
||||
ICONST 1
|
||||
RET
|
||||
LOAD -3
|
||||
LOAD -3
|
||||
ICONST 1
|
||||
ISUB
|
||||
CALL 0 1
|
||||
IMULT
|
||||
RET
|
||||
ICONST 12
|
||||
CALL 0 1
|
||||
IPRINT
|
||||
ICONST 10
|
||||
PRINT
|
||||
HALT
|
||||
|
31
test/helloworld
Normal file
31
test/helloworld
Normal file
@@ -0,0 +1,31 @@
|
||||
ICONST 72
|
||||
PRINT
|
||||
ICONST 101
|
||||
PRINT
|
||||
ICONST 108
|
||||
PRINT
|
||||
ICONST 108
|
||||
PRINT
|
||||
ICONST 111
|
||||
PRINT
|
||||
ICONST 44
|
||||
PRINT
|
||||
ICONST 32
|
||||
PRINT
|
||||
ICONST 119
|
||||
PRINT
|
||||
ICONST 111
|
||||
PRINT
|
||||
ICONST 114
|
||||
PRINT
|
||||
ICONST 108
|
||||
PRINT
|
||||
ICONST 100
|
||||
PRINT
|
||||
ICONST 33
|
||||
GSTORE 0
|
||||
GLOAD 0
|
||||
PRINT
|
||||
ICONST 10
|
||||
PRINT
|
||||
HALT
|
Reference in New Issue
Block a user