aboutsummaryrefslogtreecommitdiff
path: root/libgloss/i960/mon-syscalls.S
blob: 489d7fba323261fee8f7dcb9acd76e208e313192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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