source:
trunk/libs/newlib/src/libgloss/mn10200/trap.S
@
678
Last change on this file since 678 was 444, checked in by , 7 years ago | |
---|---|
File size: 94 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | .text |
2 | .global ___trap0 | |
3 | ___trap0: | |
4 | syscall | |
5 | cmp 0,d0 | |
6 | beq noerr | |
7 | mov d0,(_errno) | |
8 | noerr: | |
9 | rts |
Note: See TracBrowser
for help on using the repository browser.