Google Search

Thursday, October 13, 2011

DIVISION OF 16-BIT NUMBER BY 8-BIT NUMBER MICROPROCESSOR AND MICROCONTROLLER LAB MANUAL




   DIVISION OF 16-BIT NUMBER BY 8-BIT NUMBER

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

MOV AX, DIVIDEND
MOV CL, DIVISOR
DIV CL
MOV QUOTIENT, AL
MOV REMAINDER, AH
END

Result: Division of 16-bit with 8-bit number is obtained.

0 comments:

Post a Comment