added new testfiles
This commit is contained in:
parent
3885da0ea5
commit
68b0a2ea01
3 changed files with 38 additions and 0 deletions
20
asm
20
asm
|
@ -0,0 +1,20 @@
|
|||
AFC 4 2
|
||||
COP 3 4
|
||||
COP 2 0
|
||||
AFC 4 2
|
||||
ADD 5 2 4
|
||||
COP 0 5
|
||||
COP 0 3
|
||||
AFC 4 5
|
||||
COP 0 4
|
||||
AFC 4 19
|
||||
AFC 5 2
|
||||
ADD 4 4 5
|
||||
AFC 5 5
|
||||
MUL 4 5 0
|
||||
AFC 5 8
|
||||
ADD 4 4 5
|
||||
AFC 5 2
|
||||
MUL 4 4 5
|
||||
SUB 5 4 4
|
||||
COP 3 5
|
9
testFile
Normal file
9
testFile
Normal file
|
@ -0,0 +1,9 @@
|
|||
int main(){
|
||||
int a, d;
|
||||
int b, c = 2;
|
||||
b = a;
|
||||
a = b +2;
|
||||
a = c;
|
||||
a = 5;
|
||||
c = 19 + 2 - (5 * a + 8) * 2;
|
||||
}
|
9
testFile_no_jmp
Normal file
9
testFile_no_jmp
Normal file
|
@ -0,0 +1,9 @@
|
|||
int main(){
|
||||
int a, d;
|
||||
int b, c = 2;
|
||||
b = a;
|
||||
a = b +2;
|
||||
a = c;
|
||||
a = 5;
|
||||
c = 19 + 2 - (5 * a + 8) * 2;
|
||||
}
|
Loading…
Reference in a new issue