Dist, Applicable program areas operands, Of: offset – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 159: Flags, 2 instructions, Bs: destination base address, Operand specifications

2-123
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
D
a
ta Mo
vem
ent I
n
stru
ctio
ns
2
DIST
DIST
Applicable Program Areas
Operands
Bs: Destination Base Address
Of: Offset
The offset can be any value from 0000 to FFFF (0 to 65,535 decimal).
Note Bs and Bs+Of must be in the same data area.
Operand Specifications
Flags
Instruction
Mnemonic
Variations
Function
code
Function
SINGLE WORD DISTRIBUTE
DIST
@DIST
080
Transfers the source word to a destination word
calculated by adding an offset value to the base
address.
Symbol
DIST
Area
Step program areas
Subroutines
Interrupt tasks
Usage
OK
OK
OK
Operand
Description
Data type
Size
S
Source word
WORD
1
Bs
Destination base address
WORD
1
Of
Offset
UINT
1
Area
Word addresses
Indirect DM addresses
Constants
CF
Pulse bits
TR bits
CIO
WR
HR
AR
T
C
DM
@DM
*DM
S
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
---
---
---
Bs
---
Of
OK
Name
Label
Operation
Error Flag
P_ER
OFF
Equals Flag
P_EQ
• ON if the source data is 0000.
• OFF in all other cases.
Negative Flag
P_N
• ON if the leftmost bit of the source data is 1.
• OFF in all other cases
DIST(080)
S
Bs
Of
S: Source word
Bs: Destination base address
Of: Offset
15
0
Bs
Bs+Of