Unformatted text preview: Step III : Get the second number in BX i.e. divisor. Step IV : Divide the two numbers. Step V : Stop Flowchart : Refer flowchart 51. Flowchart 51 Program : .model small .data a dw 000FH b db 08H .code mov ax, @data ; Initialize data section mov ds, ax mov ax, a ; Load number1 in ax mov bx, b ; Load number2 in bx idiv bx ; divide numbers. Quotient in AL and Remainder in AH end Result : AL = 04 H (quotient) and AH = 00 H (remainder)...
View Full Document
This note was uploaded on 08/04/2011 for the course ECON 101 taught by Professor Lucky during the Spring '11 term at Silver Lake.
- Spring '11