Arithmetic Shift Left - Asl(25); Arithmetic Shift Right - Asr(26) - Omron C200H Operation Manual

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Data Shifting
5-13-3
ARITHMETIC SHIFT LEFT – ASL(25)
Description
Flags
5-13-4
ARITHMETIC SHIFT RIGHT – ASR(26)
Description
Flags
Ladder Symbols
ASL(25)
@ASL(25)
Wd
When the execution condition is OFF, ASL(25) is not executed. When the
execution condition is ON, ASL(25) shifts a 0 into bit 00 of Wd, shifts the bits
of Wd one bit to the left, and shifts the status of bit 15 into CY.
Bit
CY
15
1 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
CY:
Receives the status of bit 15.
EQ:
ON when the content of Wd is zero; otherwise OFF.
Ladder Symbols
ASR(26)
@ASR(26)
Wd
When the execution condition is OFF, ASR(25) is not executed. When the
execution condition is ON, ASR(25) shifts a 0 into bit 15 of Wd, shifts the bits
of Wd one bit to the right, and shifts the status of bit 00 into CY.
Bit
15
1
1 0 0 1 0 1 1 0 0 1 1 0 0 1 0
0
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
CY:
Receives the data of bit 00.
EQ:
ON when the content of Wd is zero; otherwise OFF.
Wd
Bit
00
0
Wd
Bit
CY
00
Section 5-13
Operand Data Areas
Wd: Shift word
IR, AR, DM, HR, LR
Operand Data Areas
Wd: Shift word
IR, AR, DM, HR, LR
127

Advertisement

Table of Contents
loading

Table of Contents