Implemented function calls

This commit is contained in:
Eduard Urbach 2024-06-18 16:42:56 +02:00
parent cd1fe5eebb
commit 6043baee48
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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)
}