source: trunk/libs/newlib/src/libgloss/mn10300/trap.S @ 679

Last change on this file since 679 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 91 bytes
Line 
1        .text
2        .global ___trap0
3___trap0:
4        syscall
5        cmp 0,d0
6        beq .L0
7        mov d0,(_errno)
8.L0:
9        rets
Note: See TracBrowser for help on using the repository browser.