Welcome to mirror list, hosted at ThFree Co, Russian Federation.

open.S « h8300hms « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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