Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- display_registry_EAX:
- xor ecx, ecx
- push ebp
- mov ebp, esp
- cmp eax, 0
- jz display_0
- dziel:
- xor edx, edx
- mov ebx, 10
- div ebx
- cmp dx,0
- jz dalej
- push dx
- inc ecx
- dalej:
- cmp eax,0
- jnz dziel
- mov ah, 02h
- wypisz:
- cmp ecx, 0
- jz wyjdz
- pop dx
- add dx, 30h
- int 21h
- dec cx
- jmp wypisz
- display_0:
- mov ah, 02h
- mov dx, 30h
- int 21h
- wyjdz:
- mov esp, ebp
- pop ebp
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement