Google Search

Thursday, October 13, 2011

DIVISION OF 32-BIT NUMBER BY 16-BIT NUMBER


DIVISION OF 32-BIT NUMBER BY 16-BIT NUMBER

Aim: -   To write an assembly language program for division of 32-bit number by a 16-bit number.

                    MOV AX, DIVIDEND
                 MOV DX, DIVISOR+2
                 DIV DIVISOR
                 MOV QUO, AX
                 MOV REM, DX
     END

 Result:  Division of 32-bit with-bit number is obtained.

0 comments:

Post a Comment