beautypg.com

Avago Technologies LSI53C1010 User Manual

Page 247

background image

Using the SIGP Bit to Abort an Instruction

10-11

*
*
*

;************************************
selected_entry:

WAIT SELECT alt_sig_p

;

if here, got selected

handle_sel:

*
*
*

;************************************
alt_sig_p:
;

We assume that the sig_p bit was set,

;

and a reselection needs to be performed.

;

If here because of a selection or

;

reselection or if a selection or

;

reselection occurred during the jump after

;

sig_p bit was set, the alternate address

;

'sel_resel' will be taken.

:

Setup relevant information for this IO.

RESELECT FROM scsi_id, sel_resel

;

if here, sig_p was set and there was no

;

selection or reselection

MOVE CTEST2 TO SFBR

;

clear sig_p bit

MOVE FROM ident_msg, WITH MSG_IN

;

from this point a reselection is performed

;

as normal by moving through the SCSI phases

*
*
*

;************************************
sel_resel:
;

if here, we have been selected or reselected

;

and sig_p may or may not have been set.

MOVE SIST0 & 0x20 TO SFBR

;

get selected bit

JUMP sel, IF 0x20

;

if we got selected

This manual is related to the following products: