beautypg.com

Figure3.24 wait reselect and the sigp bit, 3 instruction examples, Instruction examples – Avago Technologies LSI53C1010 User Manual

Page 113: Wait reselect and the sigp bit

background image

Instruction Examples

3-73

Figure 3.24 WAIT RESELECT and the SIGP Bit

Notes

With the SCRIPTS processor byte compare capability of the transfer
control instruction, the SCSI SCRIPTS algorithm can determine which
target reselected the initiator and can jump to the correct algorithm for
that particular target. The SCRIPTS processor checks the SIGP bit
before checking to see whether it has been reselected. SCSI SCRIPTS
can be tuned for the various types of available target devices and
executed with no external processor intervention.

Legal Forms

WAIT RESELECT Address
WAIT RESELECT REL(address)

3.3 Instruction Examples

This section illustrates the operation of the five SCSI instruction types
supported by the SCRIPTS processor. In each diagram, the SCSI
SCRIPTS Source Code version shows how the operation would be
expressed in the SCRIPTS language. This high-level textual format is
translated by NASM into a hexadecimal format that is put inside a “C”
language data declaration. After this intermediate form is compiled, the
instruction exists in a binary form that can be loaded into host memory
and fetched and executed by the SCRIPTS processor.

WAIT RESELECT, Not_Reselected
;Code to handle RESELECT

WAIT SELECT, SIGp_Set
;Code to handle SELECT

Not_Reselected

Sigp_Set
;Code to handle SIGP

This manual is related to the following products: