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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
        .text
2
        .global ___trap0
3
___trap0:
4
        syscall
5
        cmp 0,d0
6
        beq .L0
7
        mov d0,(_errno)
8
.L0:
9
#ifdef __mn10300__
10
        rets
11
#else
12
        rts
13
#endif

powered by: WebSVN 2.1.0

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