Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL SMALL
- .DATA
- .CODE
- MAIN PROC
- MOV CX,6
- MOV AH,2
- Digit1:
- MOV DL,'3'
- INT 21H
- CMP CX,4
- JE Digit2
- LOOP Digit1
- Digit2:
- MOV DL,'2'
- INT 21H
- CMP CX,3
- JE Digit3
- LOOP Digit2
- Digit3:
- MOV DL,'1'
- INT 21H
- MOV AH,4CH
- INT 21H
- MAIN ENDP
- END MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement