This commit is contained in:
nub31
2025-05-04 20:52:24 +02:00
parent 6755342cdb
commit 2e7249fc87
10 changed files with 123 additions and 83 deletions

View File

@@ -1,9 +1,5 @@
let SYS_WRITE = 1;
let STD_OUT = 1;
let STD_ERR = 2;
func print(msg: string) {
syscall(SYS_WRITE, STD_OUT, msg, str_len(msg));
syscall(1, 1, msg, str_len(msg));
}
func print(value: int64) {