Simplified test program

This commit is contained in:
Eduard Urbach 2024-06-27 15:26:18 +02:00
parent ec5240425b
commit a62006b4c8
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -1,17 +1,6 @@
main() {
address := 0
length := 0
address += 4194304
address += 1
length = address - address
length += 50
length -= 20
length *= 10
length /= 100
length = (0 + 50 - 20) * 10 / 100
length = 1
address := 4194304 + 1
length := (0 + 50 - 20) * 10 / 100
loop {
print(address, length)
@ -19,7 +8,7 @@ main() {
}
print(address, length) {
write(length, address, length+1)
write(length-2, address, length)
}
write(fd, address, length) {