ARM Accredited Engineer EN0-001 Question # 52 Topic 6 Discussion

ARM Accredited Engineer EN0-001 Question # 52 Topic 6 Discussion

EN0-001 Exam Topic 6 Question 52 Discussion:
Question #: 52
Topic #: 6

Consider the following code sequence, executing on a processor which implements ARM Architecture v7-A.

LDR r0, [r1]

STR r0, [r2]

STR r3, [r3]

R1 points to a location in normal memory. R2 and R3 point to device memory.

Which of the following statements best describes the ordering rules which apply to this sequence?


A.

The two writes to device memory will happen in program order, but the read can be performed out of order


B.

The memory accesses can happen in any order


C.

The memory accesses will happen in program order


D.

The read to r0 and the write from r0 will happen in program order, but the write from r3 can be performed out of order


Get Premium EN0-001 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.