Line | |
---|
1 | .sect .text; .sect .rom; .sect .data; .sect .bss
|
---|
2 | .extern .cmf4
|
---|
3 | .sect .text
|
---|
4 | .cmf4:
|
---|
5 | push ebp
|
---|
6 | mov ebp,esp
|
---|
7 | sub esp,8
|
---|
8 | push esi
|
---|
9 | push edi
|
---|
10 | mov edi,8(ebp)
|
---|
11 | mov esi,12(ebp)
|
---|
12 | cmp edi,esi
|
---|
13 | jne I1_4
|
---|
14 | xor eax,eax
|
---|
15 | jmp I1_1
|
---|
16 | I1_4:
|
---|
17 | test edi,edi
|
---|
18 | jns I1_7
|
---|
19 | mov eax,-1
|
---|
20 | jmp I1_8
|
---|
21 | I1_7:
|
---|
22 | mov eax,1
|
---|
23 | I1_8:
|
---|
24 | mov -4(ebp),eax
|
---|
25 | test esi,esi
|
---|
26 | jns I1_10
|
---|
27 | mov eax,-1
|
---|
28 | jmp I1_11
|
---|
29 | I1_10:
|
---|
30 | mov eax,1
|
---|
31 | I1_11:
|
---|
32 | mov -8(ebp),eax
|
---|
33 | cmp -4(ebp),eax
|
---|
34 | je I1_13
|
---|
35 | test edi,2147483647
|
---|
36 | jne I1_16
|
---|
37 | test esi,2147483647
|
---|
38 | jne I1_16
|
---|
39 | xor eax,eax
|
---|
40 | jmp I1_1
|
---|
41 | I1_16:
|
---|
42 | ! kill cc
|
---|
43 | cmp -4(ebp),0
|
---|
44 | jle I1_20
|
---|
45 | mov eax,-1
|
---|
46 | jmp I1_1
|
---|
47 | I1_20:
|
---|
48 | mov eax,1
|
---|
49 | jmp I1_1
|
---|
50 | I1_13:
|
---|
51 | cmp edi,esi
|
---|
52 | jge I1_23
|
---|
53 | mov eax,1
|
---|
54 | jmp I1_24
|
---|
55 | I1_23:
|
---|
56 | mov eax,-1
|
---|
57 | I1_24:
|
---|
58 | imul eax,-4(ebp)
|
---|
59 | I1_1:
|
---|
60 | pop edi
|
---|
61 | pop esi
|
---|
62 | leave
|
---|
63 | ret
|
---|
Note:
See
TracBrowser
for help on using the repository browser.