Add missing test files
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
.constant
|
||||
.end-constant
|
||||
|
||||
.main
|
||||
L1:
|
||||
BIPUSH 0x31
|
||||
OUT
|
||||
GOTO L3
|
||||
L2:
|
||||
BIPUSH 0x32
|
||||
OUT
|
||||
L3:
|
||||
BIPUSH 0x33
|
||||
OUT
|
||||
HALT
|
||||
.end-main
|
||||
Binary file not shown.
@@ -0,0 +1,17 @@
|
||||
.constant
|
||||
.end-constant
|
||||
|
||||
.main
|
||||
L1:
|
||||
BIPUSH 0x31
|
||||
OUT
|
||||
GOTO L3
|
||||
L2:
|
||||
BIPUSH 0x32
|
||||
OUT
|
||||
HALT
|
||||
L3:
|
||||
BIPUSH 0x33
|
||||
OUT
|
||||
GOTO L2
|
||||
.end-main
|
||||
Binary file not shown.
@@ -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
|
||||
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
.constant
|
||||
.end-constant
|
||||
|
||||
.main
|
||||
|
||||
L1:
|
||||
BIPUSH 0x00
|
||||
BIPUSH 0x01
|
||||
IF_ICMPEQ L5
|
||||
L2:
|
||||
BIPUSH 0x00
|
||||
BIPUSH 0x01
|
||||
ISUB
|
||||
BIPUSH 0x01
|
||||
IF_ICMPEQ L5
|
||||
L3:
|
||||
BIPUSH 0x00
|
||||
BIPUSH 0x01
|
||||
BIPUSH 0x02
|
||||
BIPUSH 0x03
|
||||
L4:
|
||||
BIPUSH 0x00
|
||||
IF_ICMPEQ L6
|
||||
GOTO L4
|
||||
L5:
|
||||
HALT
|
||||
L6:
|
||||
BIPUSH 0x13
|
||||
HALT
|
||||
|
||||
.end-main
|
||||
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
.constant
|
||||
.end-constant
|
||||
|
||||
.main
|
||||
|
||||
L1:
|
||||
BIPUSH 0x00
|
||||
IFLT L6
|
||||
L2:
|
||||
BIPUSH 0x01
|
||||
IFLT L6
|
||||
L3:
|
||||
BIPUSH 0x02
|
||||
IFLT L6
|
||||
L4:
|
||||
BIPUSH 0x10
|
||||
BIPUSH 0x11
|
||||
ISUB
|
||||
IFLT L6
|
||||
L5:
|
||||
BIPUSH 0x00
|
||||
BIPUSH 0x00
|
||||
BIPUSH 0x00
|
||||
BIPUSH 0x00
|
||||
BIPUSH 0x00
|
||||
HALT
|
||||
L6:
|
||||
BIPUSH 0x37
|
||||
HALT
|
||||
.end-main
|
||||
|
||||
Reference in New Issue
Block a user