![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268379.webp)
340
Data Movement Instructions
Section 3-8
Description
MOVB(082) copies the specified bit (n) from S to the specified bit (m) in D.
The other bits in the destination word are left unchanged.
Note
The same word can be specified for both S and D to copy a bit within a word.
Flags
Examples
When CIO 000000 is ON in the following example, the 5
th
bit of the source
word (CIO 0200) is copied to the 12
th
bit of the destination word (CIO 0300) in
accordance with the control word’s value of 0C05.
3-8-6
MOVE DIGIT: MOVD(083)
Purpose
Transfers the specified digit or digits. (Each digit is made up of 4 bits.)
Ladder Symbol
Variations
Applicable Program Areas
Name
Label
Operation
Error Flag
ER
ON if the rightmost and leftmost two digits of C are not
within the specified range of 00 to 0F.
OFF in all other cases.
1 2
0 5
S
C
D
MOVD(083)
S
: Source word or data
C
: Control word
D
: Destination word
Variations
Executed Each Cycle for ON Condition
MOVD(083)
Executed Once for Upward Differentiation
@MOVD(083)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...