Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- threeDigitPrint:
- mov ax, suma
- mov bl, hundred
- div bl
- mov ostatok,ah
- mov dl, al
- add dl,48d ;print
- mov ah, 02h
- int 21h
- mov ah,0d
- mov al,ostatok
- add ostatok2,ax
- mov ax, ostatok2
- mov bl, ten
- div bl
- mov cl, ah ;pomti
- mov dl, al
- add dl,48d ;pecati cifra2
- mov ah,02h
- int 21h
- mov dl, cl
- add dl,48d
- mov ah,02h
- int 21h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement