source: trunk/libs/newlib/src/libgloss/v850/trap.S @ 534

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

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

File size: 130 bytes
RevLine 
[444]1        .text
2        .global ___trap0
3___trap0:
4        trap 31
5        tst r10,r10
6        bz .L0
7        movhi hi(_errno),r0,r6
8        st.w r10,lo(_errno)[r6]
9.L0:
10        jmp [r31]
Note: See TracBrowser for help on using the repository browser.