beautypg.com

Coll, Flags, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 161: Operand specifications

background image

2-125

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

D
a

ta Mo

vem

ent I

n

stru

ctio

ns

2

COLL

COLL

Applicable Program Areas

Operands

Bs: Source Base Address

Of: Offset

The offset can be any value from 0000 to FFFF (0 to 65,535 decimal).

Note Bs and Bs+Of must be in the same data area.

Operand Specifications

Flags

Instruction

Mnemonic

Variations

Function

code

Function

DATA COLLECT

COLL

@COLL

081

Transfers the source word (calculated by adding
an offset value to the base address) to the desti-
nation word.

Symbol

COLL

Area

Step program areas

Subroutines

Interrupt tasks

Usage

OK

OK

OK

Operand

Description

Data type

Size

Bs

Source base address

WORD

1

Of

Offset

WORD

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

Bs

OK

OK

OK

OK

OK

OK

OK

OK

OK

---

---

---

---

Of

OK

D

---

Name

Label

Operation

Error Flag

P_ER

OFF

Equals Flag

P_EQ

ON if the source data is 0000.

OFF in all other cases.

Negative Flag

P_N

ON if the leftmost bit of the source data is 1.

OFF in all other cases

COLL(081)

Bs

Of

D

Bs: Source base address

Of: Offset

D: Destination word

15

0

Bs

Bs+Of

This manual is related to the following products: