Microprocessor and Computer Architecture20795 marksArithmetic instructions with examples
Write a 8085 assembly langauge for division of two 8-bit numbers by repeated subtraction method.
Write a 8085 assembly langauge for division of two 8-bit numbers by repeated subtraction method. [5]
Division by repeated subtraction works by repeatedly subtracting the divisor from the dividend until the result becomes zero or less than the divisor. The number of times subtraction is performed gives the quotient, and the remaining value is the remainder. --- Register Purpose ------------------...