beautypg.com

5 transfer control instructions, 1 first dword, Transfer control instructions – Avago Technologies LSI53C1010R User Manual

Page 276: First dword, Transfer control instructions – first dword, Section 5.5, “transfer control instructions

background image

5-28

SCSI SCRIPTS Instruction Set

Version 2.2

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

5.5 Transfer Control Instructions

This section describes transfer control instructions for the first Dword,
second Dword, and third Dword.

5.5.1 First Dword

This section describes the first Dword of the Transfer Control Instruction
register.

Figure 5.9

Transfer Control Instructions – First Dword

101

2

Shift register one bit to the
right and place the result in
the same register. Syntax:
“Move RegA SHR RegA”

Shift register one bit to the
right and place the result in
the

SCSI First Byte Received

(SFBR)

register. Syntax:

“Move RegA SHR SFBR”

Shift the SFBR register one
bit to the right and place the
result in the register. Syntax:
“Move SFBR SHR RegA”

110

Add data to register without
carry and place the result
in the same register.
Syntax: “Move RegA +
data8 to RegA”

Add data to register without
carry and place the result in
the

SCSI First Byte

Received (SFBR)

register.

Syntax: “Move RegA + data8
to SFBR”

Add data to SFBR without
carry and place the result in
the register. Syntax: “Move
SFBR + data8 to RegA”

111

Add data to register with
carry and place the result
in the same register.
Syntax: “Move RegA +
data8 to RegA with carry”

Add data to register with
carry and place the result in
the

SCSI First Byte

Received (SFBR)

register.

Syntax: “Move RegA + data8
to SFBR with carry”

Add data to SFBR with carry
and place the result in the
register. Syntax: “Move
SFBR + data8 to RegA with
carry”

1. Substitute the desired register name or address for “RegA” in the syntax examples.

data8 indicates eight bits of data. Use SFBR instead of data8 to add two register values.

2. Data is shifted through the Carry bit and the Carry bit is shifted into the data byte.

Table 5.1

Read/Write Instructions

1

(Cont.)

Operator

Opcode 111
Read Modify Write

Opcode 110
Move to SFBR

Opcode 101
Move from SFBR

31 30 29

27 26

24 23 22 21 20 19 18 17 16 15

8

7

0

DCMD Register

DBC Register

IT[1:0] OPC[2:0] SCSIP[2:0] RA J CT IF TF CD CP VP

MC

DC