updated the test

This commit is contained in:
nilspolek
2024-01-27 23:20:25 +01:00
parent 147415beef
commit 3bd8b9ac20
10 changed files with 23 additions and 0 deletions

23
test/tests/objTest.asm Normal file
View 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