Added call registers
This commit is contained in:
@ -1,8 +1,4 @@
|
||||
main() {
|
||||
hello()
|
||||
}
|
||||
|
||||
hello() {
|
||||
address := 0
|
||||
length := 0
|
||||
|
||||
@ -15,6 +11,7 @@ hello() {
|
||||
length *= 10
|
||||
length /= 100
|
||||
length = (0 + 50 - 20) * 10 / 100
|
||||
length = 1
|
||||
|
||||
loop {
|
||||
print(address, length)
|
||||
@ -22,7 +19,7 @@ hello() {
|
||||
}
|
||||
|
||||
print(address, length) {
|
||||
write(1, address, length)
|
||||
write(length, address, length+1)
|
||||
}
|
||||
|
||||
write(fd, address, length) {
|
||||
|
Reference in New Issue
Block a user