Read/Write Instructions
5-23
5.4 Read/Write Instructions
The Read/Write instruction supports addition, subtraction, and
comparison of two separate values within the chip. It performs the
desired operation on the specified register and the
register, then stores the result back to the specified
register or the SFBR. If the COM bit (
, bit 0) is
cleared, Read/Write instructions cannot be used.
5.4.1 First Dword
Figure 5.7
Read/Write Instruction - First Dword
IT[1:0]
Instruction Type - Read/Write Instruction
[31:30]
The Read/Write instruction uses operator bits [26:24] in
conjunction with the opcode bits to determine which
instruction is currently selected.
OPC[2:0]
Opcode
[29:27]
The combinations of these bits determine if the
instruction is a Read/Write or an I/O instruction. Opcodes
0b000 through 0b100 are considered I/O instructions.
O[2:0]
Operator
[26:24]
These bits are used in conjunction with the opcode bits
to determine which instruction is currently selected. Refer
to
for field definitions.
D8
Use data8/SFBR
23
When this bit is set,
SCSI First Byte Received (SFBR)
is
used instead of the data8 value during a Read-Modify-
Write instruction (see
). This allows the user to
add two register values.
A[6:0]
Register Address - A[6:0]
[22:16]
It is possible to change register values from SCRIPTS in
read-modify-write cycles or move to/from
cycles. A[6:0] selects an 8-bit
source/destination register within the LSI53C896.
31 30 29
27 26
24 23 22
16 15
8
7
6
0
DCMD Register
DBC Register
IT[1:0] OPC[2:0]
O[2:0]
D8
A[6:0]
ImmD
A7
R-Must be 0
*
Summary of Contents for LSI53C896
Page 6: ...vi Preface...
Page 16: ...xvi Contents...
Page 88: ...2 62 Functional Description...
Page 112: ...3 24 Signal Descriptions...
Page 306: ...6 38 Specifications This page intentionally left blank...
Page 310: ...6 42 Specifications This page intentionally left blank...
Page 338: ...6 70 Specifications Figure 6 40 LSI53C896 329 BGA Bottom View...
Page 340: ...6 72 Specifications...
Page 346: ...A 6 Register Summary...
Page 362: ...IX 12 Index...