updated the test
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
23
test/tests/objTest.asm
Normal file
23
test/tests/objTest.asm
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
pushc 3
|
||||||
|
newa
|
||||||
|
popg 0
|
||||||
|
|
||||||
|
pushg 0
|
||||||
|
pushc 0
|
||||||
|
pushc 9
|
||||||
|
putfa
|
||||||
|
pushg 0
|
||||||
|
pushc 1
|
||||||
|
pushc 22
|
||||||
|
putfa
|
||||||
|
|
||||||
|
pushg 0
|
||||||
|
pushc 0
|
||||||
|
getfa
|
||||||
|
pushg 0
|
||||||
|
pushc 1
|
||||||
|
getfa
|
||||||
|
add
|
||||||
|
wrint
|
||||||
|
halt
|
||||||
|
// Sollte 21 + 9 ergeben
|
||||||
Reference in New Issue
Block a user