User guide

2. Execute the RESET vector:
LDR PC, =0x0F000004
This causes a jump to the real address of the next ROM instruction. This assembles to a position-independent
instruction
LDR PC, [PC, offset]
3. Write to the REMAP register and set REMAP = 1.
4. Complete the rest of the initialization code as described in Initializing the system.
System decoder
ROM can be aliased to address 0x0 by the system memory decoder. A simple memory decoder might implement
this as:
case ADDR(31:24) is
when "0x00"
if REMAP = "0" then
select ROM
else
select SRAM
when "0x0F"
select ROM
when ....
Writing Code for ROM
Copyright ?1999 2001 ARM Limited 6-3