source:
trunk/minix/lib/ack/fphook/fptrp.s@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 245 bytes |
Line | |
---|---|
1 | # |
2 | .sect .text; .sect .rom; .sect .data; .sect .bss |
3 | .define __fptrp |
4 | .sect .text |
5 | __fptrp: |
6 | #if __i386 |
7 | push ebp |
8 | mov ebp, esp |
9 | mov eax, 8(bp) |
10 | call .Xtrp |
11 | leave |
12 | ret |
13 | #else /* i86 */ |
14 | push bp |
15 | mov bp, sp |
16 | mov ax, 4(bp) |
17 | call .Xtrp |
18 | jmp .cret |
19 | #endif |
Note:
See TracBrowser
for help on using the repository browser.