3. Instructions
292
CS/CJ/NSJ Series Instructions Reference Manual (W474)
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
z 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
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK 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/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
C
OK OK OK OK OK OK OK OK OK OK
OK OK
--- OK --- --- --- ---S
--- ---
D
Name Label Operation
Error Flag ER OFF
XFRB(062)
C
S
D
C: Control word
S: First source word
D: First destination word
15 8 0374
C
nm
First bit in S (
): 0 to F
(0 to 15)
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.