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/] [sysmec/] [trap.S] - Rev 207
Compare with Previous | Blame | View Log
.text
.global ___trap0
___trap0:
syscall
cmp 0,d0
beq .L0
mov d0,(_errno)
.L0:
#ifdef __mn10300__
rets
#else
rts
#endif