Omron SYSMAC CS Series Instruction & Reference Manual page 63

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Classification
Instruction
Mnemonic
Symbol
SIGNED
+/
Math
BINARY ADD
@+
Instructions
WITHOUT
CARRY
DOUBLE
+L/
SIGNED
@+L
BINARY ADD
WITHOUT
CARRY
SIGNED
+C/
BINARY ADD
@+C
WITH CARRY
DOUBLE
+CL/
SIGNED
@+CL
BINARY ADD
WITH CARRY
BCD ADD
+B/
WITHOUT
@+B
CARRY
DOUBLE BCD
+BL/
ADD WITH-
@+BL
OUT CARRY
BCD ADD
+BC/@+B
WITH CARRY
C
DOUBLE BCD
+BCL/@+B
ADD WITH
CL
CARRY
SIGNED
-/
BINARY SUB-
@-
TRACT WITH-
OUT CARRY
DOUBLE
-L/
SIGNED
@-L
BINARY SUB-
TRACT WITH-
OUT CARRY
SIGNED
-C/
BINARY SUB-
@-C
TRACT WITH
CARRY
DOUBLE
-CL/
SIGNED
@CL
BINARY SUB-
TRACT WITH
CARRY
BCD SUB-
-B/
TRACT WITH-
@-B
OUT CARRY
DOUBLE BCD
-BL/
SUBTRACT
@-BL
WITHOUT
CARRY
BCD SUB-
-BC/
TRACT WITH
@-BC
CARRY
DOUBLE BCD
-BCL/
SUBTRACT
@-BCL
WITH CARRY
SIGNED
*/
BINARY MUL-
@*
TIPLY
DOUBLE
*L/
SIGNED
@*L
BINARY MUL-
TIPLY
UNSIGNED
*U/
BINARY MUL-
@*U
TIPLY
DOUBLE
*UL/
UNSIGNED
@*UL
BINARY MUL-
TIPLY
BCD MULTIPLY *B/
@*B
DOUBLE BCD
*BL/
MULTIPLY
@*BL
SIGNED
/
BINARY
@/
DIVIDE
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Fun
Function
code
400
Adds 4-digit (single-word) hexa-
decimal data and/or constants.
401
Adds 8-digit (double-word) hexa-
decimal data and/or constants.
402
Adds 4-digit (single-word) hexa-
decimal data and/or constants
with the Carry Flag (CY).
403
Adds 8-digit (double-word) hexa-
decimal data and/or constants
with the Carry Flag (CY).
404
Adds 4-digit (single-word) BCD
data and/or constants.
405
Adds 8-digit (double-word) BCD
data and/or constants.
406
Adds 4-digit (single-word) BCD
data and/or constants with the
Carry Flag (CY).
407
Adds 8-digit (double-word) BCD
data and/or constants with the
Carry Flag (CY).
410
Subtracts 4-digit (single-word)
hexadecimal data and/or con-
stants.
411
Subtracts 8-digit (double-word)
hexadecimal data and/or con-
stants.
412
Subtracts 4-digit (single-word)
hexadecimal data and/or con-
stants with the Carry Flag (CY).
413
Subtracts 8-digit (double-word)
hexadecimal data and/or con-
stants with the Carry Flag (CY).
414
Subtracts 4-digit (single-word)
BCD data and/or constants.
415
Subtracts 8-digit (double-word)
BCD data and/or constants.
416
Subtracts 4-digit (single-word)
BCD data and/or constants with
the Carry Flag (CY).
417
Subtracts 8-digit (double-word)
BCD data and/or constants with
the Carry Flag (CY).
420
Multiplies 4-digit signed hexadeci-
mal data and/or constants.
421
Multiplies 8-digit signed hexadeci-
mal data and/or constants.
422
Multiplies 4-digit unsigned hexa-
decimal data and/or constants.
423
Multiplies 8-digit unsigned hexa-
decimal data and/or constants.
424
Multiplies 4-digit (single-word)
BCD data and/or constants.
425
Multiplies 8-digit (double-word)
BCD data and/or constants.
430
Divides 4-digit (single-word)
signed hexadecimal data and/or
constants.
2. Instructions (Applicable CPU Units)
CJ1M
CJ1-H/
CJ2H
CJ2M
CS1-H
-CPU1@ -CPU2@
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
CS1D
CJ1/
Page
CS1
-SA/S
-HA/H
OK
OK
OK
266
OK
OK
OK
266
OK
OK
OK
268
OK
OK
OK
268
OK
OK
OK
270
OK
OK
OK
270
OK
OK
OK
272
OK
OK
OK
272
OK
OK
OK
274
OK
OK
OK
274
OK
OK
OK
278
OK
OK
OK
278
OK
OK
OK
281
OK
OK
OK
281
OK
OK
OK
284
OK
OK
OK
284
OK
OK
OK
286
OK
OK
OK
286
OK
OK
OK
288
OK
OK
OK
288
OK
OK
OK
290
OK
OK
OK
290
OK
OK
OK
292
29
2

Advertisement

Table of Contents
loading

Table of Contents