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

Page 213: Operand specifications

Advertising
background image

2-177

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Sym

bol

Math I

n

stru

ctio

ns

2

*/*L

*/*L

Applicable Program Areas

Operands

Operand Specifications

Flags

Instruction

Mnemonic

Variations

Function

code

Function

SIGNED BINARY MULTIPLY

*

@*

420

Multiplies 4-digit signed hexadecimal data and/or
constants.

DOUBLE SIGNED BINARY
MULTIPLY

*L

@*L

421

Multiplies 8-digit signed hexadecimal data and/or
constants.

Symbol

*

*L

Area

Step program areas

Subroutines

Interrupt tasks

Usage

OK

OK

OK

Operand

Description

Data type

Size

*

*L

*

*L

Md

*:

Multiplicand word

*L: First multiplicand word

INT

DINT

1

2

Mr

*:

Multiplier word

*L: First multiplier word

INT

DINT

1

2

R

First result word

DINT

LINT

2

4

Area

Word addresses

Indirect DM addresses

Constants

CF

Pulse bits

TR bits

CIO

WR

HR

AR

T

C

DM

@DM

*DM

Md, Mr

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

---

---

---

R

---

Name

Label

Operation

*

*L

Error Flag

P_ER

OFF

OFF

Equals Flag

P_EQ

• ON when the result is 0.

• OFF in all other cases.

• ON when the result is 0.

• OFF in all other cases.

Negative Flag

P_N

• ON when the leftmost bit of the result is 1.

• OFF in all other cases.

• ON when the leftmost bit of the result is 1.

• OFF in all other cases.

*(420)

R

Md

Mr

Md: Multiplicand word

Mr: Multiplier word

R: Result word

*L(421)

R

Md

Mr

Md: 1st multiplicand word

Mr: 1st multiplier word

R: 1st result word

Advertising
This manual is related to the following products: