Implemented function calls

This commit is contained in:
2024-06-18 16:42:56 +02:00
parent 086998a0c3
commit 76db8feee3
11 changed files with 114 additions and 62 deletions

View File

@ -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)
}