TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual 11-85 V2.0, 2007-07
PCP, V2.0
11.11.11 COPY, DMA Instruction
This section describes the COMP instruction of the PCP.
COPY Syntax COPY DST+-, SRC+-, CNC, RC0, SIZE
Description Moves the contents of FPI Bus source location to FPI Bus
destination location. Source location is pointed to by the
contents of register R4; destination location is pointed to by
the contents of register R5. Options (see also Table 11-13 at
Page 11-74) are:
Source pointer (SRC+-): Increment, decrement or
unchanged
Destination pointer (SRC+-): Increment, decrement or
unchanged
Counter control (CNC): see Table 11-13
Counter 0 reload value (CNT0): see Table 11-13
Data transfer width (SIZE): byte, half-word, word
(pointers are
incremented/decremented
based upon SIZE)
Operation temp = zero_ext(FPI[R[4]]); value loaded and extended
depending on SIZE
FPI(R[5]) = temp
R4 = R4 +/- n; n depending on SRC+- and SIZE
R5 = R5 +/- n; n depending on DST+- and SIZE
For counter operation see Figure 11-13 at Page 11-77 and
Table 11-13 at Page 11-74.
Flags CN1Z