Move Bit - Movb(82); Movb(82) - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Data Movement Instructions
5-17-8 MOVE BIT – MOVB(82)
Limitations
Description
Bi
1
MSB
Destination bit (00 to 15)
Flags
During stack operation, the value of the stack pointer exceeds the
length of the stack; an attempt was made to write to a word beyond the
end of the stack.
EQ:
ON when the content of S is zero; otherwise OFF.
Ladder Symbols

MOVB(82)

S
Bi
D
The rightmost two digits and the leftmost two digits of Bi must each be
between 00 and 15.
DM 6144 to DM 6655 cannot be used for Bi or D.
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.
Bi
2
0
1
LSB
S
Source bit (00 to 15)
D
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 DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
@MOVB(82)
S
Bi
D
Bit
15
0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1
1
2
Bit
15
0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 1
Bit
15
0 1 0 0 0 1 0 0 0 1 1 1 0 0 0 1
Section 5-17
Operand Data Areas
S: Source word
IR, SR, AR, DM, HR, LR, #
Bi: Bit designator (BCD)
IR, SR, AR, DM, HR, TC, LR, #
D: Destination word
IR, SR, AR, DM, HR, LR
Bit
00
0
1
Bit
00
Bit
00
245

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF