2023-10-17 13:10:35 +00:00
|
|
|
main() {
|
2024-06-24 14:55:15 +00:00
|
|
|
address := 0
|
2024-06-24 12:14:07 +00:00
|
|
|
length := 0
|
|
|
|
|
2024-06-24 14:55:15 +00:00
|
|
|
address += 4194304
|
2024-06-24 12:14:07 +00:00
|
|
|
address += 1
|
2024-06-24 22:19:01 +00:00
|
|
|
|
2024-06-27 08:12:41 +00:00
|
|
|
length = address - address
|
2024-06-24 22:19:01 +00:00
|
|
|
length += 50
|
|
|
|
length -= 20
|
|
|
|
length *= 10
|
|
|
|
length /= 100
|
2024-06-25 18:50:06 +00:00
|
|
|
length = (0 + 50 - 20) * 10 / 100
|
2024-06-27 12:25:53 +00:00
|
|
|
length = 1
|
2024-06-14 09:48:28 +00:00
|
|
|
|
2024-06-23 22:03:26 +00:00
|
|
|
loop {
|
2024-06-27 08:12:41 +00:00
|
|
|
print(address, length)
|
2024-06-23 22:03:26 +00:00
|
|
|
}
|
2024-06-27 08:12:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
print(address, length) {
|
2024-06-27 12:25:53 +00:00
|
|
|
write(length, address, length+1)
|
2024-06-27 08:12:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
write(fd, address, length) {
|
|
|
|
syscall(1, fd, address, length)
|
2024-06-14 08:36:01 +00:00
|
|
|
}
|