beautypg.com

Avago Technologies LSI53C896 User Manual

Page 257

background image

Transfer Control Instructions

5-29

Version 3.3

Copyright © 1998–2003 by LSI Logic Corporation. All rights reserved.

If the comparisons are false, the LSI53C896 fetches the
next instruction from the address pointed to by the

DMA SCRIPTS Pointer (DSP)

register, and the

instruction pointer is not modified.

Interrupt Instruction

The LSI53C896 can do a true/false comparison of the ALU
carry bit, or compare the phase and/or data as defined by
the Phase Compare, Data Compare, and True/False bit
fields. If the comparisons are true, the LSI53C896
generates an interrupt by asserting the IRQ/ signal.

The 32-bit address field stored in the

DMA SCRIPTS Pointer Save (DSPS)

register can contain

a unique interrupt service vector. When servicing the
interrupt, this unique status code allows the Interrupt
Service Routine to identify quickly the point at which the
interrupt occurred.

The LSI53C896 halts and the

DMA SCRIPTS Pointer (DSP)

register must be written to

before starting any further operation.

Interrupt-on-the-Fly Instruction

The LSI53C896 can do a true/false comparison of the
ALU carry bit or compare the phase and/or data as
defined by the Phase Compare, Data Compare, and
True/False bit fields. If the comparisons are true, and the
Interrupt-on-the-Fly bit (

Interrupt Status Zero (ISTAT0),

bit 2) is set, the LSI53C896 asserts the
Interrupt-on-the-Fly bit.

SCSIP[2:0]

SCSI Phase

[26:24]

This 3-bit field corresponds to the three SCSI bus phase
signals that are compared with the phase lines latched
when SREQ/ is asserted. Comparisons can be
performed to determine the SCSI phase being driven on
the SCSI bus. The following table describes the possible
combinations and their corresponding SCSI phase.
These bits are only valid when the LSI53C896 is
operating in the initiator mode. Clear these bits when the
LSI53C896 is operating in the target mode.