Exercise 4.9. Figure 4.9 shows the memory contents of an ARM processor. Write
the contents of PC, SP, R0, and R1 after every instruction cycle, starting from the
processor reset. Show contents for PC, SP, R0, and R1 registers for first five instruc-
tion cycles.
External Memory (RAM)
0x60000000
Peripherals
0x40000000
SRAM
0x20000000
:
0xE7FE
(TOP B TOP)
0x3210
(ADDS R2, R2, #0x10)
0xFA90F1A0
(RBIT R1, R0)
0xF24F00F0
(MOVW R0, #0xF0F0)
0x000002A4
:
0x000002A5
0x20001000
0x00000004
0x00000000
Figure 4.9: Memory contents for Exercise 4.9.