Question: MSP430 assembly Consider the following code segment. b b denotes binary value A. ( 2 points) How many bytes are allocated by the assembly directives

MSP430 assembly
Consider the following code segment. b b denotes binary value A. ( 2 points) How many bytes are allocated by the assembly directives in lines 14 and 15 and what are the content of memory locations at myw and myk in hexadecimal? B. (3 points) What is the content of register R6 after the instruction in line 03 is completed? C. (10 points) What does this code segment do? What is the value of P1OUT at the end of the program? Explain your answer. D. (5 points) Calculate the total execution time in seconds for the code sequence from above (line 1 - line 12). We know the following: the average CPI is 2 clocks per instruction. Assume the clock frequency is 2MHz. What is MIPS rate for this code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
