beautypg.com

Avago Technologies LSI8751D User Manual

Page 202

background image

6-6

Instruction Set of the I/O Processor

Once the data pointer address is loaded, it is executed
as when the chip operates in the direct mode. This
indirect feature allows a table of data buffer addresses to
be specified. Using the LSI Logic SCSI SCRIPTS
assembler, the table offset is placed in the script at
compile time. Then at the actual data transfer time, the
offsets are added to the base address of the data
address table by the external processor. The logical I/O
driver builds a structure of addresses for an I/O rather
than treating each address individually. This feature
makes it possible to locate SCSI SCRIPTS in a PROM.

Note:

Do not use indirect and table indirect addressing
simultaneously; use only one addressing method at a time.

Table Indirect

28

When this bit is set, the 24-bit signed value in the start
address of the move is treated as a relative displacement
from the value in the

Data Structure Address (DSA)

register. Both the transfer count and the
source/destination address are fetched from this location.

Use the signed integer offset in bits [23:0] of the second
four bytes of the instruction, added to the value in the

Data Structure Address (DSA)

register, to fetch first the

byte count and then the data address. The signed value
is combined with the data structure base address to
generate the physical address used to fetch values from
the data structure. Sign extended values of all ones for
negative values are allowed, but bits [31:24] are ignored.

Note:

Do not use indirect and table indirect addressing
simultaneously; use only one addressing method at a time.

Figure 6.2

illustrates the Block Move Instruction register.

Command

Not Used

Don’t Care

Table Offset

This manual is related to the following products: