ASM program to divide16-bit number by an 8-bit number

Sunday, June 3rd, 2012

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

1
2
3
4
5
6
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.

Avatar of chitra

Author Name :
chitra

Total : 0 Comment


Leave a Reply

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup

Email: