source: trunk/minix/lib/ack/float/sft_ext.s@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 506 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.extern .sft_ext
3.sect .text
4.sft_ext:
5push ebp
6mov ebp,esp
7push esi
8push edi
9mov edx,8(ebp)
10! kill edx
11movsx eax,2(edx)
12mov edx,12(ebp)
13! kill edx
14movsx ebx,2(edx)
15sub ebx,eax
16neg ebx
17mov edi,ebx
18test edi,edi
19je I1_1
20test edi,edi
21jns I1_7
22neg edi
23mov esi,8(ebp)
24jmp I1_8
25I1_7:
26mov esi,12(ebp)
27I1_8:
28movsx eax,2(esi)
29add eax,edi
30movsx eax,eax
31o16 mov 2(esi),eax
32push edi
33lea eax,4(esi)
34push eax
35call .b64_sft
36pop ecx
37pop ecx
38I1_1:
39pop edi
40pop esi
41leave
42ret
Note: See TracBrowser for help on using the repository browser.