Implemented parameters
This commit is contained in:
@ -3,18 +3,13 @@ main() {
|
||||
}
|
||||
|
||||
hello() {
|
||||
write := 1
|
||||
stdout := 1
|
||||
address := 0
|
||||
length := 0
|
||||
|
||||
address += 4194304
|
||||
address += 1
|
||||
|
||||
length = 0 + 1
|
||||
length -= length
|
||||
length += write + stdout
|
||||
length -= length
|
||||
length = address - address
|
||||
length += 50
|
||||
length -= 20
|
||||
length *= 10
|
||||
@ -22,6 +17,14 @@ hello() {
|
||||
length = (0 + 50 - 20) * 10 / 100
|
||||
|
||||
loop {
|
||||
syscall(write, stdout, address, length)
|
||||
print(address, length)
|
||||
}
|
||||
}
|
||||
|
||||
print(address, length) {
|
||||
write(1, address, length)
|
||||
}
|
||||
|
||||
write(fd, address, length) {
|
||||
syscall(1, fd, address, length)
|
||||
}
|
Reference in New Issue
Block a user