ASM program to divide 32-bit number by a 16-bit number

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

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

Chitra
Chitra

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in