URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [sh/] [shsim/] [trap34/] [console-support.S] - Rev 1026
Go to most recent revision | Compare with Previous | Blame | View Log
/*
* newlib-1.8.2/newlib/libc/sys/sh/trap.S
*
* console-support.S,v 1.1 2001/01/29 15:33:34 joel Exp
*/
.text
.global ___trap34
___trap34:
trapa #34
tst r1,r1 ! r1 is errno
bt ret
mov.l perrno,r2
mov.l r1,@r2
ret:
rts
nop
.align 2
perrno:
.long _errno
Go to most recent revision | Compare with Previous | Blame | View Log