6.15. Load coprocessor register (from memory to coprocessor)

The LoaD Coprocessor (LDC) operation transfers one or more words of data from memory to coprocessor registers.

The coprocessor commits to the transfer only when it is ready to accept the data. The WRITE line is driven LOW during the transfer cycle. When CPB goes LOW, the ARM7TDMI-S produces addresses, and expects the coprocessor to take the data at sequential cycle rates. The coprocessor is responsible for determining the number of words to be transferred. An interrupt can cause the ARM7TDMI-S to abandon a busy‑waiting coprocessor instruction (see Consequences of busy‑waiting).

The first cycle (and any busy-wait cycles) generates the transfer address. The second cycle performs the write-back of the address base. The coprocessor indicates the last transfer cycle by driving CPA and CPB HIGH.

The load coprocessor register cycle timings are listed in Table 6.18

Table 6.18. Load coprocessor register instruction cycle operations 

Cycle

Address

Size

Write

Data

TRANS[1:0]

Prot0

CPnI

CPA

CPB

1 register

1

pc+8

w

0

(pc+8)

N cycle

0

0

0

0

ready

2

da

w

0

(da)

N cycle

1

1

1

1

pc+12

1 register

1

pc+8

w

0

(pc+8)

I cycle

0

0

0

1

not ready

2

pc+8

w

0

-

I cycle

1

0

0

1

pc+8

w

0

-

I cycle

1

0

0

1

n

pc+8

w

0

-

N cycle

1

0

0

0

n+1

da

w

0

(da)

N cycle

1

1

1

1

pc+12

m registers

1

pc+8

w

0

(pc+8)

N cycle

0

0

0

0

(m>1)

2

da

w

0

(da)

S cycle

1

1

0

0

ready

da++

w

0

(da++)

S cycle

1

1

0

0

m

da++

w

0

(da++)

S cycle

1

1

0

0

m+1

da++

w

0

(da++)

N cycle

1

1

1

1

pc+12

m registers

1

pc+8

w

0

(pc+8)

I cycle

0

0

0

1

(m>1)

2

pc+8

w

0

-

I cycle

1

0

0

1

not ready

pc+8

w

0

-

I cycle

1

0

0

1

n

pc+8

w

0

-

N cycle

1

0

0

0

n+1

da

w

0

(da)

S cycle

1

1

0

0

da++

0

(da++)

S cycle

1

1

0

0

n+m

da++

w

0

(da++)

S cycle

1

1

0

0

n+m+1

da++

w

0

(da++)

N cycle

1

1

1

1

pc+12

Note

Coprocessor operations are available only in ARM state.

Copyright © ARM Limited 1998-2000. All rights reserved.ARM DDI 0084F
Non-Confidential