Suppose r0= 0x20000080, and the memory layout is as follows: Address Data 0x20000087 0x99 0x20000086 0xCC 0x20000085 0x66 0x20000084 0x55 0x20000083 0x44 0x20000082 0x33 0x20000081 0x22 0x20000080 0x11 Suppose the system is set as little-endian. What are the values of rl and r0 if the following instructions are executed separately? (1) LDR r1,[ro] (2) LDR r1, [r0,#4] (3) LDR r1,[ro],#4 (4) LDR r1,[r0,#4]!

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
icon
Related questions
Question
Suppose r0= 0x20000080, and the memory layout is as follows:
Address
Data
0x20000087
0x99
0x20000086
0xCC
0x20000085
0x66
0x20000084
0x55
0x20000083
0x44
0x20000082
0x33
0x20000081
0x22
0x20000080
0x11
Suppose the system is set as little-endian. What are the values of rl and r0 if the following
instructions are executed separately?
(1) LDR r1,[ro]
(2) LDR r1, [r0,#4]
(3) LDR r1,[ro],#4
(4) LDR r1,[r0,#4]!
Transcribed Image Text:Suppose r0= 0x20000080, and the memory layout is as follows: Address Data 0x20000087 0x99 0x20000086 0xCC 0x20000085 0x66 0x20000084 0x55 0x20000083 0x44 0x20000082 0x33 0x20000081 0x22 0x20000080 0x11 Suppose the system is set as little-endian. What are the values of rl and r0 if the following instructions are executed separately? (1) LDR r1,[ro] (2) LDR r1, [r0,#4] (3) LDR r1,[ro],#4 (4) LDR r1,[r0,#4]!
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L