Figure 40. write register 0 group, Figure 40, Block length – Zilog Z08470 User Manual
Page 113

< %27 2GTKRJGTCNU
7UGT /CPWCN
UM008101-0601
Direct Memory Access
Figure 40.
Write Register 0 Group
Block Length
All operations must have a declared block length because the default values
at power-up are unpredictable for block length. These registers are written
to by setting pointer bits 5 and 6 in the WR0 base register byte. The block
length can be up to 64 Kbytes. Due to the pipelining method of reading in
data, the number of bytes actually searched or transferred may be one or
two more than the number entered here. “Address and Byte Counting” on
page 75 in “Internal Structure” on page 71 describes this (Table 11).
Programming a block length of zero results in the transfer or search of 216
+ 1 bytes. Therefore, the shortest block length that can be entered is 1,
which usually results in a transfer or search of two bytes (Table 12).
D7 D6 D5 D4 D3 D2 D1 D0
Base Register Byte
Port A starting address (Low Byte)
Port A starting address (High Byte)
Block length (Low Byte)
Block length (High Byte)
0
0
0
1
1
1
0
1
Do not use
= Transfer
= Search
= Search/Transfer
0 = Port B
→
Port A
0 = Port A
→
Port B