Omron SYSMAC CS Series Instruction & Reference Manual page 62

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

Advertisement

2. Instructions (Applicable CPU Units)
Classification
Instruction
Data Shift
ARITHMETIC
ASR/
Instruction
SHIFT RIGHT
@ASR
DOUBLE SHIFT
ASRL/
RIGHT
@ASRL
ROTATE LEFT
ROL/
@ROL
DOUBLE
ROLL/
ROTATE LEFT
@ROLL
ROTATE LEFT
RLNC/
WITHOUT
@RLNC
CARRY
DOUBLE
RLNL/
ROTATE LEFT
@RLNL
WITHOUT
CARRY
ROTATE
ROR/
RIGHT
@ROR
DOUBLE
RORL/
ROTATE
@RORL
RIGHT
ROTATE
RRNC/
RIGHT WITH-
@RRNC
OUT CARRY
DOUBLE
RRNL/
ROTATE
@RRNL
RIGHT WITH-
OUT CARRY
ONE DIGIT
SLD/
SHIFT LEFT
@SLD
ONE DIGIT
SRD/
SHIFT RIGHT
@SRD
SHIFT N-BIT
NSFL/
DATA LEFT
@NSFL
SHIFT N-BIT
NSFR/
DATA RIGHT
@NSFR
SHIFT N-BITS
NASL/
LEFT
@NASL
DOUBLE SHIFT
NSLL/
N-BITS LEFT
@NSLL
SHIFT N-BITS
NASR/
RIGHT
@NASR
DOUBLE SHIFT
NSRL/
N-BITS RIGHT
@NSRL
Increment/
INCREMENT
++/
Decrement
BINARY
@++
Instructions
DOUBLE
++L/
INCREMENT
@++L
BINARY
DECREMENT
--/
BINARY
@--
DOUBLE DEC-
--L/
REMENT
@--L
BINARY
INCREMENT
++B/
BCD
@++B
DOUBLE
++BL/@++
INCREMENT
BL
BCD
DECREMENT
--B/
BCD
@--B
DOUBLE DEC-
--BL/
REMENT BCD
@--BL
28
Fun
Mnemonic
Function
code
026
Shifts the contents of Wd one bit
to the right.
571
Shifts the contents of Wd and Wd
+1 one bit to the right.
027
Shifts all Wd bits one bit to the left
including the Carry Flag (CY).
572
Shifts all Wd and Wd +1 bits one
bit to the left including the Carry
Flag (CY).
574
Shifts all Wd bits one bit to the left
not including the Carry Flag (CY).
576
Shifts all Wd and Wd +1 bits one
bit to the left not including the
Carry Flag (CY).
028
Shifts all Wd bits one bit to the right
including the Carry Flag (CY).
573
Shifts all Wd and Wd +1 bits one
bit to the right including the Carry
Flag (CY).
575
Shifts all Wd bits one bit to the
right not including the Carry Flag
(CY).
577
Shifts all Wd and Wd +1 bits one
bit to the right not including the
Carry Flag (CY).
074
Shifts data by one digit (4 bits) to
the left.
075
Shifts data by one digit (4 bits) to
the right.
578
Shifts the specified number of bits
to the left.
579
Shifts the specified number of bits
to the right.
580
Shifts the specified 16 bits of word
data to the left by the specified
number of bits.
582
Shifts the specified 32 bits of word
data to the left by the specified
number of bits.
581
Shifts the specified 16 bits of word
data to the right by the specified
number of bits.
583
Shifts the specified 32 bits of word
data to the right by the specified
number of bits.
590
Increments the 4-digit hexadecimal
content of the specified word by 1.
591
Increments the 8-digit hexadecimal
content of the specified words by 1.
592
Decrements the 4-digit hexadecimal
content of the specified word by 1.
593
Decrements the 8-digit hexadecimal
content of the specified words by 1.
594
Increments the 4-digit BCD con-
tent of the specified word by 1.
595
Increments the 8-digit BCD con-
tent of the specified words by 1.
596
Decrements the 4-digit BCD con-
tent of the specified word by 1.
597
Decrements the 8-digit BCD con-
tent of the specified words by 1.
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
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
CS1D
CJ1/
Page
CS1
-SA/S
-HA/H
OK
OK
OK
233
OK
OK
OK
233
OK
OK
OK
235
OK
OK
OK
235
OK
OK
OK
237
OK
OK
OK
237
OK
OK
OK
239
OK
OK
OK
239
OK
OK
OK
241
OK
OK
OK
241
OK
OK
OK
243
OK
OK
OK
243
OK
OK
OK
245
OK
OK
OK
245
OK
OK
OK
248
OK
OK
OK
248
OK
OK
OK
251
OK
OK
OK
251
OK
OK
OK
254
OK
OK
OK
254
OK
OK
OK
257
OK
OK
OK
257
OK
OK
OK
260
OK
OK
OK
260
OK
OK
OK
263
OK
OK
OK
263

Advertisement

Table of Contents
loading

Table of Contents