Tightly-coupled SRAM
5-6
Copyright © ARM Limited 2000. All rights reserved.
MRC p15, 0, R2, c1, c0, 0
; Read Control Register
ORR R2, R2, #&30000
MCR p15, 0, R2, c1, c0, 0; Enable Data RAM and Load Mode
CopyLoop
LDMIA R0, {R2 - R9}
; Load 8 registers from main memory
STMIA R0!, {R2 - R9}
; Store 8 regs into instruction SRAM
CMP R1, R0
; Check if limit reached
BGT CopyLoop
; Repeat if more to do
SWP
and
SWPB
operations to the data tightly-coupled memory while it is in load mode
have unpredictable results. The read accesses external memory or the data cache, and
the write updates the data tightly-coupled memory.
SWP
and
SWPB
operations must not be performed to addresses in the instruction
tightly-coupled SRAM space while it is in load mode.
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...