Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
286 bytes
|
Line | |
---|
1 | ;int close(int fd); |
---|
2 | ;Integer arguments have to be zero extended. |
---|
3 | |
---|
4 | #include "setarch.h" |
---|
5 | |
---|
6 | .section .text |
---|
7 | .align 2 |
---|
8 | .global __close |
---|
9 | __close: |
---|
10 | #if defined(__H8300H__) || defined(__H8300S__) || defined (__H8300SX__) |
---|
11 | #if __INT_MAX__ == 32767 |
---|
12 | extu.l er0 |
---|
13 | #endif |
---|
14 | #endif |
---|
15 | jsr @@0xc9 |
---|
16 | rts |
---|
17 | .end |
---|
Note: See
TracBrowser
for help on using the repository browser.