Figure3.10 load format, Load format – Avago Technologies LSI53C1010 User Manual
Page 78
![background image](https://www.manualsdir.com/files/864554/content/doc078.png)
3-38
The SCSI SCRIPTS Processor Instruction Set
Operands
This command has the following operands:
Example
LOAD SCRATCHA0, 4, data_buf
LOAD SCRATCHA3, 2, DSAREL (0x02)
Field(s)
This command has the following fields:
Register
Is one of the register names in the chip operating register set.
Byte Count
Is the number of bytes [1:4] to be transferred from the
source_address.
DSA Relative
Indicates that the source_address is an offset and should be
added to the DSA register to obtain the physical address
(DSA relative).
Source Address
Is the physical address or offset from the DSA to obtain the
physical address of the data to be loaded into the register.
Figure 3.10 LOAD Format
31 30 29
28
27 26
25
24
23 22 21 20 19 18
17
16 15
8 7
3 2
0
DCMD Register
DBC Register
Instr
Type
DSA
Relative
R
No
Flush
Load/
Store
Register Address
R
Byte
Count
1 1 1
x
0 0
x
1
A7 A6 A5 A4 A3 A2
A1
A0
0
0 0 0 0 0 0 0 0 0 0 0 0 x x x
31
0
DSPS Register
Source Address/DSA Offset
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
Instruction
Type
Load/Store.
DSA Relative Indicates source address location.
0 - DSPS contains actual address of data to load
1 - DSPS contains a 24-bit offset value that is added to the
DSA to determine the source address.
No Flush
Indicates a store instruction without flushing the prefetch unit.
The Pre-fetch Enable bit in the DMA Control (DCNTL) register
must be set.