278
Data Movement Instructions
Section 5-18
Description
When the execution condition is OFF, MOVB(82) is not executed. When the
execution condition is ON, MOVB(82) copies the specified bit of S to the spec-
ified bit in D. The bits in S and D are specified by Bi. The rightmost two digits
of Bi designate the source bit; the leftmost two bits designate the destination
bit.
Flags
ER:
Bi is not BCD, or it is specifying a non-existent bit (i.e., bit specifica-
tion must be between 00 and 15).
Indirectly addressed EM/DM word is non-existent.
(Content of
*
EM/
*
DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
5-18-9 MOVE DIGIT – MOVD(83)
Limitations
The rightmost three digits of Di must each be between 0 and 3.
DM 6144 to DM 6655 cannot be used for Di or D.
Description
When the execution condition is OFF, MOVD(83) is not executed. When the
execution condition is ON, MOVD(83) copies the content of the specified
digit(s) in S to the specified digit(s) in D. Up to four digits can be transferred at
one time. The first digit to be copied, the number of digits to be copied, and
the first digit to receive the copy are designated in Di as shown below. Digits
from S will be copied to consecutive digits in D starting from the designated
first digit and continued for the designated number of digits. If the last digit is
reached in either S or D, further digits are used starting back at digit 0.
1
Bi
1
2
0
Source bit (00 to 15)
Destination bit (00 to 15)
0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1
Bit
15
Bit
00
0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 1
0 1 0 0 0 1 0 0 0 1 1 1 0 0 0 1
S
D
Bi
1
2
0
1
Bit
15
Bit
15
Bit
00
Bit
00
LSB
MSB
S
:
Source word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
Di
: Digit designator (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
Ladder Symbols
Operand Data Areas
D
:
Destination word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
MOVD(83)
S
Di
D
@MOVD(83)
S
Di
D