Question: Given the problem above(uses keil arm assembly language if that helps) , solve for a,b,c,d and you must show your work and/or explanations to your

Given the problem above(uses keil arm assembly language if that helps), solve for a,b,c,d and you must show your work and/or explanations to your answers. Circle or mark your final answers.
A subroutine called Multi takes two arguments and multiplies them. The subroutine accepts unsigned half word arguments stored in two variable locations called ARGI and ARG2 and the result will be stored in a variable location called MRES. The subroutine accepts either integer or mixed arguments with no error in the result. The subroutine follows APCS, and passes arguments and returns by name. a) What must the size (in bits) of MRES be? b) If the result returned from the subroutine is logically shifted right 8 times, what is the maximum error in the result? c) Write a code snippet to take the result returned from the subroutine and change the result to a 16 bit result with the minimum possible error. d) If the subroutine is called with ARGI = 0x4.AFC and ARG2 = 0x.3F25 and the result is then applied to the snippet from part c, what is the bit error and percentage error of the result? A subroutine called Multi takes two arguments and multiplies them. The subroutine accepts unsigned half word arguments stored in two variable locations called ARGI and ARG2 and the result will be stored in a variable location called MRES. The subroutine accepts either integer or mixed arguments with no error in the result. The subroutine follows APCS, and passes arguments and returns by name. a) What must the size (in bits) of MRES be? b) If the result returned from the subroutine is logically shifted right 8 times, what is the maximum error in the result? c) Write a code snippet to take the result returned from the subroutine and change the result to a 16 bit result with the minimum possible error. d) If the subroutine is called with ARGI = 0x4.AFC and ARG2 = 0x.3F25 and the result is then applied to the snippet from part c, what is the bit error and percentage error of the result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
