Computer Science, asked by asadkamal752311, 1 month ago

Write an assembly language program to divide two numbers

Answers

Answered by catmoney31
0

Explanation:

Here we will see 8085 program. This program will divide two 8-bit numbers using 8085 microprocessor.

Problem Statement −

Write an 8085 Assembly language program to divide two 8-bit numbers and store the result at locations 8020H and 8021H.

Discussion −

The 8085 has no division operation. To get the result of division, we should use the repetitive subtraction method.

By using this program, we will get the quotient and the remainder. 8020H will hold the quotient, and 8021H will hold remainder.

Similar questions