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

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

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

File size: 94 bytes
RevLine 
[444]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.