source: trunk/libs/newlib/src/libgloss/mn10200/trap.S @ 468

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

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

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