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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sh/] [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 ___trap34
3
___trap34:
4
        trapa   #34
5
        tst     r1,r1   ! r1 is errno
6
        bt      ret
7
        mov.l   perrno,r2
8
        mov.l   r1,@r2
9
ret:
10
        rts
11
        nop
12
 
13
        .align  2
14
perrno:
15
        .long   _errno

powered by: WebSVN 2.1.0

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