Add tests for task 1 and 2

This commit is contained in:
2018-05-22 01:42:28 +02:00
parent 2a37620224
commit a65ab6aafa
9 changed files with 311 additions and 0 deletions

27
files/task3/IFEQ1 Normal file
View File

@@ -0,0 +1,27 @@
.constant
.end-constant
.main
L1:
BIPUSH 0x05
L2:
DUP
BIPUSH 0x30
IADD
OUT
BIPUSH 0x01
ISUB
DUP
IFEQ L3
GOTO L2
L3:
BIPUSH 0x65
BIPUSH 0x6E
BIPUSH 0x6F
BIPUSH 0x64
OUT
OUT
OUT
OUT
.end-main