beautypg.com

Conversion instructions, Logic instructions, Special math instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 444: 3 instruction execution times and number of steps

background image

3 Instruction Execution Times and Number of Steps

3-8

CP1E CPU Unit Instructions Reference Manual(W483)

Conversion Instructions

Instruction

Mnemonic

FUN

No.

Length
(steps)

ON execution

time (

µs)

Conditions

BCD TO BINARY

BIN

023

3

15.1

---

DOUBLE BCD TO DOUBLE
BINARY

BINL

058

3

16.7

---

BINARY TO BCD

BCD

024

3

15.1

---

DOUBLE BINARY TO

DOUBLE BCD

BCDL

059

3

17.3

---

2’S COMPLEMENT

NEG

160

3

14.3

---

DATA DECODER

MLPX

076

4

19.6

Decoding 1 digit (4 to 16)

31.0

Decoding 4 digits (4 to 16)

79.4

Decoding 1 digit (8 to 256)

138.2

Decoding 2 digits (8 to 256)

DATA ENCODER

DMPX

077

4

32.5

Encoding 1 digit (16 to 4)

63.0

Encoding 4 digits (16 to 4)

68.0

Encoding 1 digit (256 to 8)

112.3

Encoding 2 digits (256 to 8)

ASCII CONVERT

ASC

086

4

22.8

Converting 1 digit into ASCII

24.7

Converting 4 digits into ASCII

ASCII TO HEX

HEX

162

4

18.4

Converting 1 digit

Logic Instructions

Instruction

Mnemonic

FUN

No.

Length
(steps)

ON execution

time (

µs)

Conditions

LOGICAL AND

ANDW

034

4

18.6

---

DOUBLE LOGICAL AND

ANDL

610

4

20.4

---

LOGICAL OR

ORW

035

4

18.6

---

DOUBLE LOGICAL OR

ORWL

611

4

20.4

---

EXCLUSIVE OR

XORW

036

4

18.6

---

DOUBLE EXCLUSIVE OR

XORL

612

4

20.4

---

COMPLEMENT

COM

029

2

12.4 ---

DOUBLE COMPLEMENT

COML

614

2

13.6

---

Special Math Instructions

Instruction

Mnemonic

FUN

No.

Length
(steps)

ON execution

time (

µs)

Conditions

ARITHMETIC PROCESS

APR

069

4

34.2

Designating SIN and COS

25.9

Designating line-segment approximation

BIT COUNTER

BCNT

067

4

19.5

Counting 1 word

This manual is related to the following products: