source: trunk/minix/lib/ack/float/cuf4.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: 623 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.extern .cuf4
3.sect .text
4.cuf4:
5push ebp
6mov ebp,esp
7sub esp,16
8push esi
9push edi
10lea eax,-12(ebp)
11push eax
12call .zrf_ext
13pop ecx
14cmp 8(ebp),4
15jne I1_4
16o16 mov -10(ebp),31
17mov esi,12(ebp)
18lea edi,12(ebp)
19jmp I1_5
20I1_4:
21lea edx,12(ebp)
22mov -16(ebp),edx
23movsx eax,(edx)
24mov esi,eax
25o16 mov -10(ebp),15
26lea edi,8(ebp)
27I1_5:
28test esi,esi
29jne I1_7
30mov (edi),0
31jmp I1_1
32I1_7:
33cmp 8(ebp),4
34je I1_10
35sal esi,16
36I1_10:
37mov -8(ebp),esi
38lea eax,-12(ebp)
39push eax
40call .nrm_ext
41pop ecx
42push 4
43push edi
44lea eax,-12(ebp)
45push eax
46call .compact
47add esp,12
48I1_1:
49pop edi
50pop esi
51leave
52ret
Note: See TracBrowser for help on using the repository browser.