Question: Write a LC-3 assembly program to perform division. The integers (between 1 and 9) for the division are provided by the user in response to
Write a LC-3 assembly program to perform division. The integers (between 1 and 9) for the division are provided by the user in response to a prompt. The program performs the division and displays the quotient as well as the remainder as shown below.
Demo of simple division:
Input an integer: 8
Input another integer: 4
Quotient = 2
Remainder = 0
Demo of simple division:
Input an integer: 7
Input another integer: 4
Quotient = 1
Remainder = 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
