Question: 2. Memory Addressing and Organization: Consider the following main memory: . . a . if the memory locations 0x5, 0x200, and 0x20C each show a

2. Memory Addressing and Organization: Consider the following main

memory:

2. Memory Addressing and Organization: Consider the following main memory: . .

.

.

a. if the memory locations 0x5, 0x200, and 0x20C each

show a word of memory and has a value in a form of (0x0000 0000). What is

the word size (in number of bits)? How many bytes are there per word?

.

.

b. Assuming this memory is used by the ARM processor studied

this semester and above fig is the demonstration of instruction:

STR r0, [r1, #12]

- What memory accessing mode does the instruction?

- What address is used for computing the offset?

- What is the value of the r0 after this instruction is executed:

.

.

c. To store to location 0x1f4, what instruction should be used

instead? (only one instruction)

.

.

d. If r2 contains 3, auto-increment base register to 0x20c by

multiplying this by 4, what instruction should be used and what memory

accessing mode does the instruction?

r0 Memory Source 0x5 Register for STR Offset 12 0x20c Ox5 r1 Base 0x200 Register L0x200

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!