2-115

2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Data Movement Instructions
2
XFRB
XFRB
Applicable Program Areas
Operands

C: Control Word D: First destination Word

Note The source words and the destination words must be in the same data area respectively.
S: First Source Word
Operand Specifications
Flags
Instruction Mnemonic Variations Function
code Function
MULTIPLE BIT TRANSFER XFRB @XFRB 062 Transfers the specified number of consecutive
bits.
Symbol
XFRB
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
C Control word UINT 1
S First source word WORD Variable
D First destination word WORD Variable
Area Word addresses Indirect DM addresses Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
COK OK OK OK OK OK OK OK OK OK --- --- ---
S, D ---
Name Label Operation
Error Flag P_ER OFF
XFRB(062)
C
S
D
C: Control word
S: First source word
D: First destination word
First bit in S ( ): 0 to F
(0 to 15)
15 8 037 4
Cnm
First bit in D (m): 0 to F
(0 to 15)
Number of bits (n):
00 to FF (0 to 255)
15 0
D
to
D+16 max.
15 0
S
to
S+16 max.