Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 289

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Data Movement Instructions
Description
Note
Flags
256
Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
MOVD(083) copies the content of n digits from S (beginning at digit m) to D
(beginning at digit l). Only the specified digits are changed; the rest are left
unchanged.
If the number of digits being read or written exceeds the leftmost digit of S or
D, MOVD(083) will wrap to the rightmost digit of the same word.
l
The same word can be specified for both S and D to copy a bit within a word.
Name
Label
Error Flag
ER
S
A0 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
#0000 to #FFFF
Specified values
(binary)
only
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, –(– –) IR15
Operation
ON if one of the first three digits of C is not within the
specified range of 0 to 3.
OFF in all other cases.
Section 3-7
C
D
A448 to A959
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents