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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sysmec/] [trap.S] - Blame information for rev 1774

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

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