diff options
author | Benedikt Böhm <bb@xnull.de> | 2009-07-06 21:21:19 +0200 |
---|---|---|
committer | Benedikt Böhm <bb@xnull.de> | 2009-07-06 21:21:19 +0200 |
commit | ac4fb25412982447af2e718d3824e6acf7d3a2dd (patch) | |
tree | 4eb8d49be8363dda95e3e1851e8dc04e6c3cb4f5 /src/emu/syscall.h | |
parent | 37aec7789434c3ade9a1df630b1eec6c997487b2 (diff) | |
download | swppy-ac4fb25412982447af2e718d3824e6acf7d3a2dd.tar.gz swppy-ac4fb25412982447af2e718d3824e6acf7d3a2dd.tar.xz swppy-ac4fb25412982447af2e718d3824e6acf7d3a2dd.zip |
implement print statement
Diffstat (limited to '')
-rw-r--r-- | src/emu/syscall.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/emu/syscall.h b/src/emu/syscall.h index 7c7265c..afd3e9d 100644 --- a/src/emu/syscall.h +++ b/src/emu/syscall.h @@ -2,14 +2,11 @@ #define _SYSCALL_H /* calling convention: - * - pass syscall number in GPR[1] - * - pass arguments in GPR[2]-GPR[9] - * - return code is passed in GPR[2] + * - syscall number and params are passed on stack */ #define SYS_exit 0x00 -#define SYS_read 0x01 -#define SYS_write 0x02 +#define SYS_print 0x01 void do_syscall(void); |