-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.txt
135 lines (135 loc) · 1.38 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
.386
.model flat, stdcall
.data
a dd ?
b dd ?
c dd ?
i dd ?
.code
main:
push 3
pop eax
mov a, eax
push 2
push a
pop eax
pop ebx
add eax, ebx
push eax
push 2
pop eax
pop ebx
imul ebx
mov b, eax
push b
push 10
pop eax
pop ebx
cmp eax, ebx
je @label12
push 0
jmp @label13
@label12: push 1
@label13:
push a
push 0
pop eax
pop ebx
cmp eax, ebx
jg @label14
push 0
jmp @label15
@label14: push 1
@label15:
pop eax
pop ebx
cmp eax, 0
je @label10
cmp ebx, 0
je @label10
push 1
jmp @label11
@label10: push 0
@label11:pop eax
mov c, eax
push c
pop eax
cmp eax, 0
je @label16
push 1
pop eax
add a, eax
jmp @label17
@label16:
push 1
pop eax
sub a, eax
@label17:
@loop685325104:
push 1
pop eax
add a, eax
push a
push 10
pop eax
pop ebx
cmp eax, ebx
jne @label26
push 0
jmp @label27
@label26: push 1
@label27:
pop eax
cmp eax, 0
je @label24
goto @loop685325104
pop eax
jmp @label25
@label24:
push b
push 2
pop eax
pop ebx
imul ebx
mov a, eax
goto @loop685325104end
pop eax
@label25:
jmp @loop685325104
@loop685325104end:
@loop460141958:
push a
push 10
pop eax
pop ebx
cmp eax, ebx
jge @label32
push 0
jmp @label33
@label32: push 1
@label33:
pop eax
cmp eax, 0
je @460141958end
push 1
pop ecx
sar a, ecx
push a
pop eax
jmp @loop460141958
@loop460141958end:
push 1
push 5
pop i
pop edi
cmp i, edi
jnl @loop1163157884end
@loop1163157884:
push i
pop eax
mov a, eax
inc i
cmp i, edi
jl @loop1163157884
@loop1163157884end:
end main