![](http://datasheet.mmic.net.cn/390000/SYM53C810A_datasheet_16836333/SYM53C810A_132.png)
Instruction Set of the I/O Processor
Load and Store Instructions
6-24
SYM53C810A Data Manual
Load and Store
Instructions
T he Load and Store instruction provides a more
efficient way to move data from/to memory to/from
an internal register in the chip without using the
normal memory move instruction.
T he load and store instructions are represented by
two-dword op codes. T he first dword contains the
DCMD and DBC register values. T he second
dword contains the DSPS value. T his is either the
actual memory location of where to load or store,
or the offset from the DSA, depending on the
value of Bit 28 (DSA Relative).
A maximum of 4 bytes may be moved with these
instructions. T he register address and memory
address must have the same byte alignment, and
the count set such that it does not cross dword
boundaries. T he destination memory address in
the Store instruction and the source address in the
Load instruction may not map back to the operat-
ing register set of the chip. If it does, a PCI illegal
read/write cycle will occur, and the chip will issue
an interrupt (Illegal Instruction Detected) imme-
diately following.
T he SIOM and DIOM bits in the DMODE regis-
ter determine whether the destination or source
address of the instruction is in Memory space or I/
O space. T he Load/Store utilizes the PCI com-
mands for I/O READ and I/O WRIT E to access
the I/O space.
First Dword
Bit 31-29, Instruction Type
T hese bits should be 111, indicating the Load and
Store instruction.
Bit 28, DSA Relative
When this bit is clear, the value in the DSPS is
the actual 32-bit memory address to perform
the load/store to/from. When this bit is set, the
chip determines the memory address to per-
form the load/store to/from by adding the 24-
bit signed offset value in the DSPS to the DSA.
Bits 27-26, Reserved
Bit 25, No Flush (Store instruction only)
Note: this bit has no effect unless the Pre-fetch
Enable bit in the DCNT L register is set.
For information on SCRIPT S instruction
prefetching, see Chapter 2.
When this bit is set, the SYM53C810A per-
forms a Store without flushing the prefetch
unit. When this bit is clear, the Store instruc-
tion automatically flushes the prefetch unit. No
Flush should be used if the source and destina-
tion are not within four instructions of the cur-
rent Store instruction.
Bit 24, Load/Store
When this bit is set, the instruction is a Load.
When cleared, it is a Store.
Bit 23, Reserved
Bits 22-16, Register Address
A6-A0 select the register to load/store to/from
within the SYM053C810A.
Note: It is not possible to load the SFBR register,
although the SFBR contents may be stored
in another location.
Bits 15-3, Reserved
Bits 2-0, Byte Count
T his value is the number of bytes to load/store.
Second Dword
Bits 31-0, Memory/IO Address / DSA Offset
T his is the actual memory location of where to
load or store, or the offset from the DSA register
value.
Bits A1, A0
Number of bytes allowed to load/
store
00
One, two, three or four
01
One, two, or three.
10
One or two
11
One