beautypg.com

Table 5.1 read/write instructions, Read/write instructions, Table 5.1 – Avago Technologies LSI53C896 User Manual

Page 253

background image

Read/Write Instructions

5-25

Version 3.3

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

Write one byte (value contained within the SCRIPTS instruction) into
any chip register.

Move to/from the

SCSI First Byte Received (SFBR)

from/to any

other register.

Alter the value of a register with AND, OR, ADD, XOR, SHIFT LEFT,
or SHIFT RIGHT operators.

After moving values to the

SCSI First Byte Received (SFBR)

, the

compare and jump, call, or similar instructions check the value.

A Move-to-SFBR, followed by a Move-from-SFBR, performs a
register to register move.

Table 5.1

Read/Write Instructions

Operator

Opcode 111
Read-Modify-Write

Opcode 110
Move to SFBR

Opcode 101
Move from SFBR

000

Move data into register.
Syntax: “Move data8 to
RegA”

Move data into

SCSI First

Byte Received (SFBR)

register. Syntax: “Move
data8 to SFBR”

Move data into register.
Syntax: “Move data8 to
RegA”

001

1

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

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

SCSI First Byte

Received (SFBR)

register.

Syntax: “Move RegA SHL
SFBR”

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

010

OR data with register and
place the result in the same
register. Syntax: “Move
RegA | data8 to RegA”

OR data with register and
place the result in the

SCSI

First Byte Received (SFBR)

register. Syntax: “Move
RegA | data8 to SFBR”

OR data with SFBR and
place the result in the
register. Syntax: “Move
SFBR | data8 to RegA”

011

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

XOR data with register and
place the result in the

SCSI

First Byte Received (SFBR)

register. Syntax: “Move
RegA XOR data8 to SFBR”

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

100

AND data with register and
place the result in the same
register. Syntax: “Move
RegA & data8 to RegA”

AND data with register and
place the result in the

SCSI

First Byte Received (SFBR)

register. Syntax: “Move
RegA & data8 to SFBR”

AND data with SFBR and
place the result in the
register. Syntax: “Move
SFBR & data8 to RegA”