repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
sys
/
h8300hms
/
open.S
blob
0feaab2178d96ae10f42e2b7b6d7eebfe34ee03f
1
;int open(const char *pathname, int flags);
2
;Integer arguments have to be zero extended.
3
;The second argument is taken from the stack,
4
;hence it is not zero extended here.
5
6
#include "setarch.h"
7
8
.section .text
9
.align 2
10
.global __open
11
__open:
12
jsr @@0xc5
13
rts
14
.end