Line | |
---|
1 | .sect .text; .sect .rom; .sect .data; .sect .bss
|
---|
2 | .extern .nrm_ext
|
---|
3 | .sect .text
|
---|
4 | .nrm_ext:
|
---|
5 | push ebp
|
---|
6 | mov ebp,esp
|
---|
7 | sub esp,4
|
---|
8 | push esi
|
---|
9 | push edi
|
---|
10 | mov esi,8(ebp)
|
---|
11 | mov edx,8(esi)
|
---|
12 | or edx,4(esi)
|
---|
13 | je I1_1
|
---|
14 | cmp 4(esi),0
|
---|
15 | jne I1_7
|
---|
16 | mov edx,8(esi)
|
---|
17 | mov 4(esi),edx
|
---|
18 | mov 8(esi),0
|
---|
19 | movsx eax,2(esi)
|
---|
20 | sub eax,32
|
---|
21 | movsx eax,eax
|
---|
22 | o16 mov 2(esi),eax
|
---|
23 | I1_7:
|
---|
24 | test 4(esi),-2147483648
|
---|
25 | jne I1_1
|
---|
26 | mov -4(ebp),1073741824
|
---|
27 | mov edi,-1
|
---|
28 | I1_13:
|
---|
29 | mov edx,-4(ebp)
|
---|
30 | test 4(esi),edx
|
---|
31 | jne I1_12
|
---|
32 | shr -4(ebp),1
|
---|
33 | dec edi
|
---|
34 | jmp I1_13
|
---|
35 | I1_12:
|
---|
36 | movsx eax,2(esi)
|
---|
37 | add eax,edi
|
---|
38 | movsx eax,eax
|
---|
39 | o16 mov 2(esi),eax
|
---|
40 | push edi
|
---|
41 | lea eax,4(esi)
|
---|
42 | push eax
|
---|
43 | call .b64_sft
|
---|
44 | pop ecx
|
---|
45 | pop ecx
|
---|
46 | I1_1:
|
---|
47 | pop edi
|
---|
48 | pop esi
|
---|
49 | leave
|
---|
50 | ret
|
---|
Note:
See
TracBrowser
for help on using the repository browser.