source:
trunk/libs/newlib/src/libgloss/v850/trap.S
@
564
Last change on this file since 564 was 444, checked in by , 7 years ago | |
---|---|
File size: 130 bytes |
Line | |
---|---|
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.