1 i/o instruction example, Figure3.25 i/o instruction type, 2 memory move instruction example – Avago Technologies LSI53C1010 User Manual
Page 114: I/o instruction example, Memory move instruction example, I/o instruction type

3-74
The SCSI SCRIPTS Processor Instruction Set
3.3.1 I/O Instruction Example
is an example of the processor when selecting the SCSI
device with SCSI ID 01. The instruction is a Select With Attention, as
indicated by the ATN keyword.
The SELECT instruction and ATN flag generates a value of 0x41 for the
high order byte of the instruction, translating to a binary 01 for I/O
Instruction type, 0b000 for the opcode, and a 1 in the ATN flag bit. The
SCSI target identity (0b01) is encoded in the next byte. The rest of the
bits are reserved and should remain cleared. The alternate address in
the original SCRIPTS instruction is loaded into the DSPS register.
Figure 3.25 I/O Instruction Type
3.3.2 Memory Move Instruction Example
In this example, the processor moves eight bytes from the source
address to the destination address relative to the source.
0
0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
DSPS Register
SCSI SCRIPTS
Source Code
SELECT ATN 01, alt_address
NASM
Output
41010000
00000000
0
0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1
1
1
DCMD Register
DCB Register
Binary
Instruction
Format