Omron CP1E-N@@D@-@ Computer Hardware User Manual


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