beautypg.com

Figure3.11 move format, Move format – Avago Technologies LSI53C1010 User Manual

Page 83

background image

Instruction Descriptions

3-43

Example

MOVE FROM dev_1, WITH MSG_IN
MOVE 6, cmd_buf, WHEN CMD

FROM

Indicates the table indirect addressing mode.
Note: FROM and PTR must not be used in the same
instruction.

count

A 24-bit number indicating the number of bytes being
transferred.

PTR

Sets the indirect bit if present, it is cleared otherwise.
Note: Do not use PTR and FROM in the same instruction

address

A 32-bit starting address of the data in memory.

WITH/WHEN

Sets the mode for the device; WITH for target mode and
WHEN for initiator mode.

Phase

Specifies the Message, Command/Data, and Input/Output bit
values that identify the SCSI phase in the instruction. The
desired phase value is compared with the actual values of the
SCSI phase lines before the SCRIPTS processor performs the
instruction. This field is only valid for the initiator mode and
should not be used in the target mode.

Figure 3.11 MOVE Format

31

30

29

28

27

26

24 23

0

DCMD Register

DBC Register

Instr Type Indirect

Table

Indirect

Opcode

SCSI

Phase

Byte Count

0

0

x

x

x

x x x x

x

x

x

x

x

x

x

x

x x x x x x x x x x x x x x x

31

0

DSPS Register

Destination Address

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

This manual is related to the following products: