1 call, Call – Avago Technologies LSI53C1010 User Manual
Page 45
Instruction Descriptions
3-5
Each command description may also have additional command specific
information.
3.2.1 CALL
CALL {REL(Address) | Address} [, {IF | WHEN}[NOT][ATN |
Phase] [AND | OR] [data[AND MASK data]]]
CALL {REL(Address) | Address} [, {IF | WHEN}[NOT][Carry]
Supported by
All LSI Logic SCRIPTS Processors.
Definition
SCSI Transfer Control, Call subroutine.
Operands
This command has the following operands:
REL
Indicates the use of relative addressing by setting the high order
bit in the DMA Byte Counter (DBC) register.
Address
Location to which execution is transferred if the subroutine is
called. Stored in the second Dword of the instruction.
WHEN
Forces the SCRIPTS engine to wait for a valid SCSI bus phase
before continuing. A valid phase is indicated by assertion of the
SREQ/ signal.
IF
Causes the SCRIPTS processor to immediately check for a valid
SCSI bus phase. IF should not be used when comparing for a
phase as this could yield unpredictable results. The only
exception is using a WHEN conditional just prior to the IF
conditional for any given sequence of phase checks.
NOT
Negates the comparison. It clears the True bit if present,
otherwise the True bit is set.
Phase
Specifies the Message, Command/Data, and Input/Output bit
values that identify the SCSI phase in the instruction. The
desired phase value is compared with the actual values of the
SCSI phase lines before the SCRIPTS processor performs the
instruction. Only valid for initiator mode and should not be used
in the target mode.
ATN
Indicates that a jump should take place based on an initiator
SATN/ signal. Valid only for the target mode and should not be
used in the initiator mode.
data
Represents an 8-bit value that is stored in the data field of the
instruction when this field is present. In addition, the Compare
Data bit is set.