;assemnble language program div .MODEL SMALL .stack 100 .data Dividend DW 1234H Divisor DB 89H Quotient DB? Remainder DB? .CODE START: MOV AX, @data MOV DS,AX MOV AX, Dividend MOV DL, Divisor DIV DL MOV Quotient, AL MOV Remainder, AH MOV AH, 4CH INT 21H END START END
To embed this project on your website, copy the following code and paste it into your website's HTML: