Created
January 10, 2017 15:20
-
-
Save menon92/f5b66de1645ff808624ea8ddfddfc049 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.CODE | |
MAIN PROC | |
MOV AX, 10 | |
MOV BX, 2 | |
DIV BX ; ax = ax / bx | |
AAM | |
ADD AH, 48 | |
ADD AL, 48 | |
MOV BX, AX | |
MOV AH, 2 | |
MOV DL, BH | |
INT 21H | |
MOV DL, BL | |
INT 21H | |
END MAIN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment