beautypg.com

Xfrb, Applicable program areas operands, Flags – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 151: 2 instructions, C: control word d: first destination word, S: first source word operand specifications

background image

2-115

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

D
a

ta Mo

vem

ent I

n

stru

ctio

ns

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

C

OK

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

0

3

7

4

C

n

m

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.

This manual is related to the following products: