Simplified test program
This commit is contained in:
parent
ec5240425b
commit
a62006b4c8
@ -1,17 +1,6 @@
|
|||||||
main() {
|
main() {
|
||||||
address := 0
|
address := 4194304 + 1
|
||||||
length := 0
|
length := (0 + 50 - 20) * 10 / 100
|
||||||
|
|
||||||
address += 4194304
|
|
||||||
address += 1
|
|
||||||
|
|
||||||
length = address - address
|
|
||||||
length += 50
|
|
||||||
length -= 20
|
|
||||||
length *= 10
|
|
||||||
length /= 100
|
|
||||||
length = (0 + 50 - 20) * 10 / 100
|
|
||||||
length = 1
|
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
print(address, length)
|
print(address, length)
|
||||||
@ -19,7 +8,7 @@ main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print(address, length) {
|
print(address, length) {
|
||||||
write(length, address, length+1)
|
write(length-2, address, length)
|
||||||
}
|
}
|
||||||
|
|
||||||
write(fd, address, length) {
|
write(fd, address, length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user