SHOW:
|
|
- or go back to the newest paste.
1 | display_registry_EAX: | |
2 | xor ecx, ecx | |
3 | - | push ebp |
3 | + | push ebp |
4 | mov ebp, esp | |
5 | - | cmp eax, 0 |
5 | + | cmp eax, 0 |
6 | jz display_0 | |
7 | dziel: | |
8 | xor edx, edx | |
9 | mov ebx, 10 | |
10 | div ebx | |
11 | - | cmp dx,0 |
11 | + | |
12 | - | jz dalej |
12 | + | |
13 | cmp eax,0 | |
14 | jnz dziel | |
15 | - | dalej: |
15 | + | |
16 | mov ah, 02h | |
17 | wypisz: | |
18 | cmp ecx, 0 | |
19 | jz wyjdz | |
20 | - | wypisz: |
20 | + | |
21 | add dx, 30h | |
22 | int 21h | |
23 | dec cx | |
24 | jmp wypisz | |
25 | display_0: | |
26 | mov ah, 02h | |
27 | mov dx, 30h | |
28 | int 21h | |
29 | wyjdz: | |
30 | mov esp, ebp | |
31 | pop ebp | |
32 | ret |