Question: The following code sequence represents part of an Arm Cortex-M3/M4 program. Assume that all registers were initialized to 0 (zero) and that the first instruction
The following code sequence represents part of an Arm Cortex-M3/M4 program. Assume that all registers were initialized to 0 (zero) and that the first instruction (step 1) is located at memory location 0x080001AC. You are required to fill in the value (in hex) of each of the following: 11, 12, 13 and pc after the execution of each instruction. MOVS r1, #Ox05 1. r1 r2 r3 pc 2. MOVS 12, #0x07 r1 r2 r3 pc 3. ADDS r3, r1, r2 r1 r2 r3 pc The following code sequence represents part of an Arm Cortex-M3/M4 program. Assume that all registers were initialized to 0 (zero) and that the first instruction (step 1) is located at memory location 0x080001AC. You are required to fill in the value (in hex) of each of the following: 11, 12, 13 and pc after the execution of each instruction. MOVS r1, #Ox05 1. r1 r2 r3 pc 2. MOVS 12, #0x07 r1 r2 r3 pc 3. ADDS r3, r1, r2 r1 r2 r3 pc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
