Skip to content

Instantly share code, notes, and snippets.

@menon92
Created January 10, 2017 15:20
Show Gist options
  • Save menon92/f5b66de1645ff808624ea8ddfddfc049 to your computer and use it in GitHub Desktop.
Save menon92/f5b66de1645ff808624ea8ddfddfc049 to your computer and use it in GitHub Desktop.
.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