Updated repository
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user