Omron SYSMAC CP Series Instruction & Reference Manual page 31

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

Instrucion
Instruction
Type
Symbol Math
SIGNED BINARY
Instructions
ADD WITHOUT
CARRY
DOUBLE SIGNED
BINARY ADD
WITHOUT CARRY
SIGNED BINARY
ADD WITH CARRY
DOUBLE SIGNED
BINARY ADD WITH
CARRY
BCD ADD
WITHOUT CARRY
DOUBLE BCD ADD
WITHOUT CARRY
BCD ADD WITH
CARRY
DOUBLE BCD ADD
WITH CARRY
SIGNED BINARY
SUBTRACT
WITHOUT CARRY
DOUBLE SIGNED
BINARY
SUBTRACT WITH-
OUT CARRY
SIGNED BINARY
SUBTRACT WITH
CARRY
DOUBLE SIGNED
BINARY WITH
CARRY
BCD SUBTRACT
WITHOUT CARRY
DOUBLE BCD
SUBTRACT
WITHOUT CARRY
BCD SUBTRACT
WITH CARRY
DOUBLE BCD
SUBTRACT
WITH CARRY
SIGNED BINARY
MULTIPLY
DOUBLE SIGNED
BINARY MULTIPLY
BCD MULTIPLY
DOUBLE BCD
MULTIPLY
SIGNED BINARY
DIVIDE
DOUBLE SIGNED
BINARY DIVIDE
BCD DIVIDE
DOUBLE BCD
DIVIDE
CP1E CPU Unit Instructions Reference Manual(W483)
FUN
Mnemonic
No.
+/
400
Adds 4-digit (single-word) hexadecimal data and/or constants.
@+
+L/
401
Adds 8-digit (double-word) hexadecimal data and/or constants.
@+L
+C/
402
Adds 4-digit (single-word) hexadecimal data and/or constants with the Carry
@+C
Flag (CY).
+CL/
403
Adds 8-digit (double-word) hexadecimal data and/or constants with the Carry
@+CL
Flag (CY).
+B/
404
Adds 4-digit (single-word) BCD data and/or constants.
@+B
+BL/
405
Adds 8-digit (double-word) BCD data and/or constants.
@+BL
+BC/
406
Adds 4-digit (single-word) BCD data and/or constants with the Carry Flag (CY).
@+BC
+BCL/
407
Adds 8-digit (double-word) BCD data and/or constants with the Carry Flag (CY).
@+BCL
-/
410
Subtracts 4-digit (single-word) hexadecimal data and/or constants.
@-
-L/
411
Subtracts 8-digit (double-word) hexadecimal data and/or constants.
@-L
-C/
412
Subtracts 4-digit (single-word) hexadecimal data and/or constants with the
@-C
Carry Flag (CY).
-CL/
413
Subtracts 8-digit (double-word) hexadecimal data and/or constants with the
@-CL
Carry Flag (CY).
-B/
414
Subtracts 4-digit (single-word) BCD data and/or constants.
@-B
-BL/
415
Subtracts 8-digit (double-word) BCD data and/or constants.
@-BL
-BC/
416
Subtracts 4-digit (single-word) BCD data and/or constants with the Carry Flag
@-BC
(CY).
-BCL/
417
Subtracts 8-digit (double-word) BCD data and/or constants with the Carry Flag
@-BCL
(CY).
∗/
420
Multiplies 4-digit signed hexadecimal data and/or constants.
@∗
∗L/
421
Multiplies 8-digit signed hexadecimal data and/or constants.
@∗L
∗B/
424
Multiplies 4-digit (single-word) BCD data and/or constants.
@∗B
∗BL/
425
Multiplies 8-digit (double-word) BCD data and/or constants.
@∗BL
/
430
Divides 4-digit (single-word) signed hexadecimal data and/or constants.
@/
/L
431
Divides 8-digit (double-word) signed hexadecimal data and/or constants.
@/L
/B
434
Divides 4-digit (single-word) BCD data and/or constants.
@/B
/BL
435
Divides 8-digit (double-word) BCD data and/or constants.
@/BL
1 Summary of Instructions
Function
Page
2-158
2-158
2-160
1
2-160
2-162
2-162
2-164
2-164
2-166
2-166
2-170
2-170
2-172
2-172
2-175
2-175
2-177
2-177
2-179
2-179
2-181
2-181
2-183
2-183
1-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents