beautypg.com

2 second dword, 5 read/write instructions, 1 first dword – Avago Technologies LSI53C876E User Manual

Page 212: Second dword, Read/write instructions, First dword, Section 5.5, “read/write instructions

background image

5-22

SCSI SCRIPTS Instruction Set

The Set/Clear SCSI ACK/ATN instruction is used after
message phase Block Move operations to give the
Initiator the opportunity to assert attention before
acknowledging the last message byte. For example, if the
Initiator wishes to reject a message, it issues an Assert
SCSI ATN instruction before a Clear SCSI ACK
instruction.

R

Reserved

[2:0]

5.4.2 Second Dword

SA

Start Address

[31:0]

This 32-bit field contains the memory address to fetch the
next instruction if the selection or reselection fails.

If relative or table relative addressing is used, this value
is a 24-bit signed offset relative to the current

DMA

SCRIPTS Pointer (DSP)

register value.

5.5 Read/Write Instructions

The Read/Write instruction supports addition, subtraction, and
comparison of two separate values within the chip. It performs the
desired operation on the specified register and the

SCSI First Byte

Received (SFBR)

register, then stores the result back to the specified

register or the SFBR. If the COM bit (

DMA Control (DCNTL)

, bit 0) is

cleared, Read/Write instruction cannot be used.

5.5.1 First Dword

Instruction Type - Read/Write Instruction

[31:30]

The Read/Write instruction uses operator bits 26 through
24 in conjunction with the opcode bits to determine which
instruction is currently selected.

Figure 5.4

illustrates the Read/Write Instruction register.