beautypg.com

1 summary of instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 31

background image

1-7

1 Summary of Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

1-1 Summ

ar
y of Instructi

ons

1

Symbol Math
Instructions

SIGNED BINARY
ADD WITHOUT
CARRY

+/
@+

400

Adds 4-digit (single-word) hexadecimal data and/or constants.

2-158

DOUBLE SIGNED
BINARY ADD
WITHOUT CARRY

+L/
@+L

401

Adds 8-digit (double-word) hexadecimal data and/or constants.

2-158

SIGNED BINARY
ADD WITH CARRY

+C/
@+C

402

Adds 4-digit (single-word) hexadecimal data and/or constants with the Carry
Flag (CY).

2-160

DOUBLE SIGNED
BINARY ADD WITH
CARRY

+CL/
@+CL

403

Adds 8-digit (double-word) hexadecimal data and/or constants with the Carry
Flag (CY).

2-160

BCD ADD
WITHOUT CARRY

+B/
@+B

404

Adds 4-digit (single-word) BCD data and/or constants.

2-162

DOUBLE BCD ADD
WITHOUT CARRY

+BL/
@+BL

405

Adds 8-digit (double-word) BCD data and/or constants.

2-162

BCD ADD WITH
CARRY

+BC/
@+BC

406

Adds 4-digit (single-word) BCD data and/or constants with the Carry Flag (CY).

2-164

DOUBLE BCD ADD
WITH CARRY

+BCL/
@+BCL

407

Adds 8-digit (double-word) BCD data and/or constants with the Carry Flag (CY).

2-164

SIGNED BINARY
SUBTRACT
WITHOUT CARRY

-/
@-

410

Subtracts 4-digit (single-word) hexadecimal data and/or constants.

2-166

DOUBLE SIGNED
BINARY
SUBTRACT WITH-
OUT CARRY

-L/
@-L

411

Subtracts 8-digit (double-word) hexadecimal data and/or constants.

2-166

SIGNED BINARY
SUBTRACT WITH
CARRY

-C/
@-C

412

Subtracts 4-digit (single-word) hexadecimal data and/or constants with the
Carry Flag (CY).

2-170

DOUBLE SIGNED
BINARY WITH
CARRY

-CL/
@-CL

413

Subtracts 8-digit (double-word) hexadecimal data and/or constants with the
Carry Flag (CY).

2-170

BCD SUBTRACT
WITHOUT CARRY

-B/
@-B

414

Subtracts 4-digit (single-word) BCD data and/or constants.

2-172

DOUBLE BCD
SUBTRACT
WITHOUT CARRY

-BL/
@-BL

415

Subtracts 8-digit (double-word) BCD data and/or constants.

2-172

BCD SUBTRACT
WITH CARRY

-BC/
@-BC

416

Subtracts 4-digit (single-word) BCD data and/or constants with the Carry Flag
(CY).

2-175

DOUBLE BCD
SUBTRACT
WITH CARRY

-BCL/
@-BCL

417

Subtracts 8-digit (double-word) BCD data and/or constants with the Carry Flag
(CY).

2-175

SIGNED BINARY
MULTIPLY

∗/
@

420

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

2-177

DOUBLE SIGNED
BINARY MULTIPLY

∗L/
@

∗L

421

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

2-177

BCD MULTIPLY

∗B/
@

∗B

424

Multiplies 4-digit (single-word) BCD data and/or constants.

2-179

DOUBLE BCD
MULTIPLY

∗BL/
@

∗BL

425

Multiplies 8-digit (double-word) BCD data and/or constants.

2-179

SIGNED BINARY
DIVIDE

/
@/

430

Divides 4-digit (single-word) signed hexadecimal data and/or constants.

2-181

DOUBLE SIGNED
BINARY DIVIDE

/L
@/L

431

Divides 8-digit (double-word) signed hexadecimal data and/or constants.

2-181

BCD DIVIDE

/B
@/B

434

Divides 4-digit (single-word) BCD data and/or constants.

2-183

DOUBLE BCD
DIVIDE

/BL
@/BL

435

Divides 8-digit (double-word) BCD data and/or constants.

2-183

Instrucion

Type

Instruction

Mnemonic

FUN

No.

Function

Page

This manual is related to the following products: