Exercise 3: Suppose RO = 0x20000000 and R1 = 0x12345678, find the result stored in memory for the following operations. State the contents of the memory and their address locations in hexadecimal after the following operations are executed. Draw a table (similar to the previous question) to show the memory value if the processor uses Little Endian. a) STR R1, [RO] b) STR R1, [RO, #4] Exercise 4: Suppose RO = 0X0FOFOFOF and R1 = 0x12345678, find the result in R3 of the following operations. State the contents of the register in hexadecimal. %3D a) ADD R3, R1, RO b) SUB R3, R1, RO c) AND R3, R1, RO d) ORR R3, R1, RO e) EOR R3, R1, RO

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 19SA
icon
Related questions
Question
6
Exercise 3: Suppose RO = 0x20000000 and R1 = 0x12345678, find the result stored
in memory for the following operations. State the contents of the memory and their
address locations in hexadecimal after the following operations are executed. Draw
a table (similar to the previous question) to show the memory value if the processor
uses Little Endian.
a) STR R1, [RO]
b) STR R1, [R0, #4]
Exercise 4: Suppose RO = 0XOFOFOFOF and R1 = 0x12345678, find the result in R3 of
the following operations. State the contents of the register in hexadecimal.
%3D
%3D
a) ADD R3, R1, RO
b) SUB R3, R1, RO
c) AND R3, R1, RO
d) ORR R3, R1, RO
e) EOR R3, R1, RO
Transcribed Image Text:Exercise 3: Suppose RO = 0x20000000 and R1 = 0x12345678, find the result stored in memory for the following operations. State the contents of the memory and their address locations in hexadecimal after the following operations are executed. Draw a table (similar to the previous question) to show the memory value if the processor uses Little Endian. a) STR R1, [RO] b) STR R1, [R0, #4] Exercise 4: Suppose RO = 0XOFOFOFOF and R1 = 0x12345678, find the result in R3 of the following operations. State the contents of the register in hexadecimal. %3D %3D a) ADD R3, R1, RO b) SUB R3, R1, RO c) AND R3, R1, RO d) ORR R3, R1, RO e) EOR R3, R1, RO
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning