Avago Technologies LSI53C825AE User Manual
Page 216

5-32
SCSI SCRIPTS Instruction Set
Return Instruction
The LSI53C825A 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, it loads the
register with the contents of the
register. That address
value becomes the address of the next instruction.
When a Return instruction is executed, the value stored
in the
register is returned to the
register. The LSI53C825A does
not check to see whether the Call instruction has already
been executed. It does not generate an interrupt if a
Return instruction is executed without previously
executing a Call instruction.
If the comparisons are false, the LSI53C825A fetches the
next instruction from the address pointed to by the
register and the instruction
pointer is not modified.
Interrupt Instruction
The LSI53C825A 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 LSI53C825A generates
an interrupt by asserting the IRQ/ signal.
The 32-bit address field stored in the
register can contain a unique
interrupt service vector. When servicing the interrupt, this
unique status code allows the Interrupt Service Routine
to quickly identify the point at which the interrupt
occurred.
The LSI53C825A halts and the
register must be written to before starting any
further operation.