source:
trunk/minix/lib/i386/em/em_sbi.s@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 322 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | .sect .text; .sect .rom; .sect .data; .sect .bss |
2 | .sect .text | |
3 | .define .sbi | |
4 | ||
5 | ! #bytes in ecx , top of stack in eax | |
6 | .sbi: | |
7 | pop ebx ! return subress | |
8 | cmp ecx,4 | |
9 | jne 1f | |
10 | pop ecx | |
11 | sub eax,ecx | |
12 | neg eax | |
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.