2 ; Acess2 System Interface
4 %include "syscalls.inc.asm"
10 SYSCALL2 open, SYS_OPEN
11 SYSCALL3 reopen, SYS_REOPEN
12 SYSCALL1 close, SYS_CLOSE
13 SYSCALL4 read, SYS_READ ; int, int64_t, void*
14 SYSCALL4 write, SYS_WRITE ; int, int64_t, void*
15 SYSCALL4 seek, SYS_SEEK ; int, int64_t, int
16 SYSCALL2 finfo, SYS_FINFO