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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [h8300hms/] [open.S] - Blame information for rev 309

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 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.