Omron SYSMAC CP Series Instruction & Reference Manual page 30

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

Advertisement

1 Summary of Instructions
Instrucion
Instruction
Type
Data Shift
SHIFT REGISTER
Instructions
REVERSIBLE
SHIFT REGISTER
WORD SHIFT
ARITHMETIC
SHIFT LEFT
ARITHMETIC
SHIFT RIGHT
ROTATE LEFT
ROTATE RIGHT
ONE DIGIT SHIFT
LEFT
ONE DIGIT SHIFT
RIGHT
SHIFT N-BITS LEFT
DOUBLE SHIFT
N-BITS LEFT
SHIFT N-BITS
RIGHT
DOUBLE SHIFT
N-BITS RIGHT
Increment/
INCREMENT
Decrement
BINARY
Instructions
DOUBLE INCRE-
MENT BINARY
DECREMENT
BINARY
DOUBLE DECRE-
MENT BINARY
INCREMENT BCD
DOUBLE INCRE-
MENT BCD
DECREMENT BCD
DOUBLE DECRE-
MENT BCD
1-6
FUN
Mnemonic
No.
SFT
010
Operates a shift register.
SFTR/
084
Creates a shift register that shifts data to either the right or the left.
@SFTR
WSFT/
016
Shifts data between St and E in word units.
@WSFT
ASL/
025
Shifts the contents of Wd one bit to the left.
@ASL
ASR/
026
Shifts the contents of Wd one bit to the right.
@ASR
ROL/
027
Shifts all Wd bits one bit to the left including the Carry Flag (CY).
@ROL
ROR/
028
Shifts all Wd bits one bit to the right including the Carry Flag (CY).
@ROR
SLD/
074
Shifts data by one digit (4 bits) to the left.
@SLD
SRD/
075
Shifts data by one digit (4 bits) to the right.
@SRD
NASL/
580
Shifts the specified 16 bits of word data to the left by the specified number of
@NASL
bits.
NSLL/
582
Shifts the specified 32 bits of word data to the left by the specified number of
@NSLL
bits.
NASR/
581
Shifts the specified 16 bits of word data to the right by the specified number of
@NASR
bits.
NSRL/
583
Shifts the specified 32 bits of word data to the right by the specified number of
@NSRL
bits.
++/
590
Increments the 4-digit hexadecimal content of the specified word by 1.
@++
++L/
591
Increments the 8-digit hexadecimal content of the specified words by 1.
@++L
--/
592
Decrements the 4-digit hexadecimal content of the specified word by 1.
@--
--L/
593
Decrements the 8-digit hexadecimal content of the specified words by 1.
@--L
++B/
594
Increments the 4-digit BCD content of the specified word by 1.
@++B
++BL/
595
Increments the 8-digit BCD content of the specified words by 1.
@++BL
--B/
596
Decrements the 4-digit BCD content of the specified word by 1.
@--B
--BL/
597
Decrements the 8-digit BCD content of the specified words by 1.
@--BL
Function
CP1E CPU Unit Instructions Reference Manual(W483)
Page
2-127
2-129
2-131
2-133
2-134
2-135
2-137
2-139
2-139
2-141
2-141
2-144
2-144
2-147
2-147
2-150
2-150
2-153
2-153
2-156
2-156

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents