summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/h8300hms/open.S
blob: 0feaab2178d96ae10f42e2b7b6d7eebfe34ee03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;int open(const char *pathname, int flags);
;Integer arguments have to be zero extended.
;The second argument is taken from the stack,
;hence it is not zero extended here.

#include "setarch.h"

	.section .text
	.align 2
	.global __open
__open:
	jsr @@0xc5
	rts
	.end