8: Coprocessor Interface
8-8 EPSON ARM720T CORE CPU MANUAL
8.4.7 Coprocessor load and store operationsThe coprocessor load and store instructions, LDC and STC, are used to transfer data between
a coprocessor and memory. They can be used to transfer either a single word of data or a
number of the coprocessor registers. There is no limit to the number of words of data that can
be transferred by a single LDC or STC instruction, but by convention a coprocessor must not
transfe r more than 16 words of data in a single in struction. An example sequen ce is show n in
Figure 8-4.
Note:
•The external coprocessor must not abort on LDC and STC instructions unless
they can be decoded as a CP15 operations otherwise dead lock occurs on busy
waiting.
•If you transfer more than 16 words of data in a single instruction, the
worst-case interrupt latency of the ARM720T processor increases.
Figure 8-4 Coprocessor load sequence
ADD SWINETSTLDCSUB
TSTLDCSUBADD SWINE
LDCSUBADD SWINETST
IFetch IFetchIFetchIFetch CP data IFetchIFetch
(ADD) (SUB) (SWINE)(TST)(CPDO)
HCLK
Fetch
stage
Decode
stage
Execute
stage
CPnCPI
(fromcore)
(fromcoprocessor)
HRDATA[31:0]
n=4
EXTCPA
(fromcoprocessor)
EXTCPB
CP dataCP dataCP data