Question: 4. Subroutine (20 pts) Write an assembly language program to calculate the multiplication of two positive integers. Use the main function to put the two

4. Subroutine (20 pts) Write an assembly language program to calculate the multiplication of two positive integers. Use the main function to put the two integers a and b into R4 and R5 Use a subroutine to calculate the multiplication of a and b, and put the result into R8 For example, if a is 3, b is 8, then R8 content should be 24 = 0x18. Run your program with a = 31 and b = 24, and include a screenshot of the registers showing your execution result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
