source:
trunk/minix/lib/i386/em/em_ngi.s@
20
| Last change on this file since 20 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 296 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | .sect .text; .sect .rom; .sect .data; .sect .bss |
| 2 | .sect .text | |
| 3 | .define .ngi | |
| 4 | ||
| 5 | ! #bytes in eax | |
| 6 | .ngi: | |
| 7 | pop ebx ! return address | |
| 8 | cmp eax,4 | |
| 9 | jne 1f | |
| 10 | pop ecx | |
| 11 | neg ecx | |
| 12 | push ecx | |
| 13 | jmp ebx | |
| 14 | 1: | |
| 15 | .extern EODDZ | |
| 16 | .extern .trp | |
| 17 | mov eax,EODDZ | |
| 18 | push ebx | |
| 19 | jmp .trp |
Note:
See TracBrowser
for help on using the repository browser.