This commit is contained in:
nub31
2025-01-26 01:15:02 +01:00
parent a6f2bb132b
commit 8c51c31927
24 changed files with 426 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
let SYS_WRITE = 1;
let STD_IN = 0;
let STD_OUT = 1;
let STD_ERR = 2;
func main() {
write("test");
syscall(SYS_WRITE, STD_OUT, msg);
return 12;
}
func write(msg: void) {
syscall(SYS_WRITE, STD_OUT, msg);
}