diff options
Diffstat (limited to 'libgloss/i960/mon-syscalls.S')
-rw-r--r-- | libgloss/i960/mon-syscalls.S | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libgloss/i960/mon-syscalls.S b/libgloss/i960/mon-syscalls.S new file mode 100644 index 000000000..489d7fba3 --- /dev/null +++ b/libgloss/i960/mon-syscalls.S @@ -0,0 +1,30 @@ +#include "asm.h" + +ENTRY(_exit) + lda 257,g13 + calls g13 + +ENTRY(_sys_open) + lda 230,g13 + calls g13 + ret + +ENTRY(_sys_read) + lda 231,g13 + calls g13 + ret + +ENTRY(_sys_write) + lda 232,g13 + calls g13 + ret + +ENTRY(_sys_lseek) + lda 233,g13 + calls g13 + ret + +ENTRY(_sys_close) + lda 234,g13 + calls g13 + ret |