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