added a method for testing arrays

This commit is contained in:
nilspolek
2024-01-27 22:43:34 +01:00
parent 8c45b02769
commit 6ebc065a7a
13 changed files with 44 additions and 17 deletions

BIN
test/tests/14.bin Normal file

Binary file not shown.

18
test/tests/arrTest.asm Normal file
View File

@@ -0,0 +1,18 @@
new 3
popl 0
pushl 0
pushc 10
putf 0
pushl 0
pushc 11
putf 1
pushl 0
getf 0
pushl 0
getf 1
add
wrint
halt
// Sollte 10 + 11 ergeben