Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MICROPROCESSOR c. For the given following registers and memory locations content: RO=0x00005678, R3=0x40001010, R6=0x0000000A, R1=0x33557799, R4=0x66668888, R7=0x40000000 R2=0x10203040, R5=0x40001000, 4 CONFIDENTIAL BEE/BEP 20211/BEE2223 [0x40000000]= 22
MICROPROCESSOR
c. For the given following registers and memory locations content: RO=0x00005678, R3=0x40001010, R6=0x0000000A, R1=0x33557799, R4=0x66668888, R7=0x40000000 R2=0x10203040, R5=0x40001000, 4 CONFIDENTIAL BEE/BEP 20211/BEE2223 [0x40000000]= 22 33 44 55 66 77 88 99 10 12 14 16 17 18 20 22 Determine the new content of the registers RO-R7, and new content of memory starting from address 0x40000000 until 0x4000000F after the following ARM assembly program is executed. Assume the processor is little endian ENTRY MOVS LDR LDRH LDRB LDRSH LDRSB STR STM STRB RO, #OxC R1, (R7] R2, [R7, #2] R3, [R7, RO] R4, [R7, R6] R5, [R6,R7] R6, (R7], #3 R7, (R1, R4} R2, [R7, #3] ! END RO R4 R1 R5 R2 R6 R3 R7 40000000 40000008 40000001 40000009 40000002 40000003 40000004 4000000A 4000000B 40000000 40000005 4000000D 40000006 4000000E c. For the given following registers and memory locations content: RO=0x00005678, R3=0x40001010, R6=0x0000000A, R1=0x33557799, R4=0x66668888, R7=0x40000000 R2=0x10203040, R5=0x40001000, 4 CONFIDENTIAL BEE/BEP 20211/BEE2223 [0x40000000]= 22 33 44 55 66 77 88 99 10 12 14 16 17 18 20 22 Determine the new content of the registers RO-R7, and new content of memory starting from address 0x40000000 until 0x4000000F after the following ARM assembly program is executed. Assume the processor is little endian ENTRY MOVS LDR LDRH LDRB LDRSH LDRSB STR STM STRB RO, #OxC R1, (R7] R2, [R7, #2] R3, [R7, RO] R4, [R7, R6] R5, [R6,R7] R6, (R7], #3 R7, (R1, R4} R2, [R7, #3] ! END RO R4 R1 R5 R2 R6 R3 R7 40000000 40000008 40000001 40000009 40000002 40000003 40000004 4000000A 4000000B 40000000 40000005 4000000D 40000006 4000000EStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started