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