Implemented function calls
This commit is contained in:
parent
086998a0c3
commit
76db8feee3
11 changed files with 114 additions and 62 deletions
|
@ -1,8 +1,12 @@
|
|||
main() {
|
||||
hello()
|
||||
}
|
||||
|
||||
hello() {
|
||||
write := 1
|
||||
stdout := 1
|
||||
exit := 60
|
||||
address := 4194305
|
||||
length := 3
|
||||
|
||||
syscall(write, stdout, 4194305, 3)
|
||||
syscall(exit, 0)
|
||||
syscall(write, stdout, address, length)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue