30 lines
372 B
Plaintext
Raw Normal View History

2023-10-17 15:10:35 +02:00
main() {
2024-06-18 16:42:56 +02:00
hello()
}
hello() {
2024-06-24 16:55:15 +02:00
address := 0
2024-06-24 14:14:07 +02:00
length := 0
2024-06-24 16:55:15 +02:00
address += 4194304
2024-06-24 14:14:07 +02:00
address += 1
2024-06-25 00:19:01 +02:00
2024-06-27 10:12:41 +02:00
length = address - address
2024-06-25 00:19:01 +02:00
length += 50
length -= 20
length *= 10
length /= 100
2024-06-25 20:50:06 +02:00
length = (0 + 50 - 20) * 10 / 100
2024-06-14 11:48:28 +02:00
2024-06-24 00:03:26 +02:00
loop {
2024-06-27 10:12:41 +02:00
print(address, length)
2024-06-24 00:03:26 +02:00
}
2024-06-27 10:12:41 +02:00
}
print(address, length) {
write(1, address, length)
}
write(fd, address, length) {
syscall(1, fd, address, length)
2024-06-14 10:36:01 +02:00
}