2-111

2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)

Data Movement Instructions

2

MOVB

MOVB
Applicable Program Areas
Operands
C: Control Word
Operand Specifications
Flags

Instruction Mnemonic Variations Function

code Function

MOVE BIT MOVB @MOVB 082 Transfers the specified bit.

Symbol
MOVB
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
S Source word or data WORD 1
C Control word UINT 1
D Destination word WORD 1
Area Word addresses Indirect DM addresses Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
S, C OK OK OK OK OK OK OK OK OK OK --- --- ---
D---
Name Label Operation
Error Flag P_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.
MOVB(082)
S
C
D
S: Source word or data
C: Control word
D: Destination word
Cm n
Source bit: 00 to 0F
(0 to 15 decimal)
Destination bit: 00 to 0F
(0 to 15 decimal)
07815