beautypg.com

Avago Technologies LSI53C1010 User Manual

Page 92

background image

3-52

The SCSI SCRIPTS Processor Instruction Set

For LSI53C825A, LSI53C875, LSI53C876, LSI53C885, LSI53C895,
LSI53C895A, LSI53C896, LSI53C1000, LSI53C1010, LSI53C1010R,
LSI53C1000R only:
These chips allow use of the SFBR register for easier addition,
subtraction, and comparison of two separate values within the chip. The
instruction can perform the specified operation on the specified register
and the SFBR, then store the result back to the specified register or the
SFBR. The SFBR is used in place of the data8 value in the Read/Write
operation. Subtraction cannot be used when the SFBR is used instead
of a data8 value, because the SFBR value is not known at compile time.

Notes

The mathematical operation is performed by the chip during execution,
not by the assembler when the SCRIPTS routine is being assembled.

Legal Forms

In the following, where the word register appears twice for an instruction,
the register name must be the same name for both the source and
destination, not two different register names.

Move register to register
Move data8 to REGISTER
Move REGISTER SHL REGISTER
Move REGISTER | data8 to REGISTER
Move REGISTER XOR data8 to REGISTER
Move REGISTER & data8 to REGISTER
Move REGISTER SHR REGISTER
Move REGISTER + data8 to REGISTER
Move REGISTER + data8 to REGISTER with Carry
Move REGISTER - data8 to REGISTER
Move data8 to SFBR
Move REGISTER to SFBR
Move REGISTER SHL SFBR
Move REGISTER | data8 to SFBR
Move REGISTER XOR data8 to SFBR
Move REGISTER & data8 to SFBR
Move REGISTER SHR SFBR
Move REGISTER + data8 to SFBR
Move REGISTER - data8 to SFBR
Move REGISTER + data8 to SFBR with Carry
Move SFBR SHL REGISTER
Move SFBR | data8 to REGISTER
Move SFBR XOR data8 to REGISTER
Move SFBR & data8 to REGISTER
Move SFBR SHR REGISTER
Move SFBR + data8 to REGISTER
Move SFBR - data8 to REGISTER

This manual is related to the following products: