TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-81
V2.0, 2007-07
PCP, V2.0
11.11.6
BCOPY, DMA Operation
See also
for TC1796 specific details of the BCOPY instruction.
BCOPY
Syntax
BCOPY DST+-, SRC+-, CNC, CNT0
Description
Allows the PCP to perform DMA type transfers using FPI
block transfers.
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
at
) are:
Source pointer (SRC+-):
Increment, decrement or
unchanged
Destination pointer (SRC+-): Increment, decrement or
unchanged
Counter control (CNC):
see
Block size value (CNT0):
see
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 CNT0
R5 = R5 +/- n; n depending on DST+- and CNT0
For counter operation see
and
at
Flags
CN1Z