Question: Iar workbench for msp430 Assembly code without using Divide function Write an assembly program to perform an integer division of an unsigned 16-bit number by
Iar workbench for msp430

Assembly code without using Divide function
Write an assembly program to perform an integer division of an unsigned 16-bit number by another unsigned 16-bit number. The result of the division should be stored in R4 while the reminder should be stored in R5. Turn on an LED at the time that the division process is started and turn it off once the division process is completed. Submit the complete project folder in ZIP file format. (no other compression format will be accepted) Use loops to perform the division. Use successive subtraction to perform division. Make use of subroutines. Turn on an LED (any LED) to signal the start of division. Turn off the same LED preciously turned on to signal the end of division. Ensure to handle division by 0. (represent infinity as OxFFFF)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
