OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [h8300hms/] [open.S] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
;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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.