173
0 entered.
Lost
5-14-11 ARITHMETIC SHIFT LEFT: ASL(060)
(060)
ASL Wd
Wd: Word CIO, G, A, DM,
Operand Data AreaLadder Symbol
Variations
j ASL(060)
When the execution condition is OFF, ASL(060) is not executed. When the ex-
ecution condition is ON, ASL(060) 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.
1 0 0 1 110001010011
CY
Bit
00
Bit
15
0
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
CY (A50004): Receives the status of bit 15.
EQ (A50006): Content of Wd is 0 after a shift.
N (A50008): Same status as bit 15 of D + 1 after shift.
Example When CIO 000000 is ON in the following example, 0 is shifted into bit 00 of
D00010, the status of all bits within D00010 are shifted left one position, and the
status of bit 15 is shifted to CY.
Address Instruction Operands
00000 LD 000000
00001 ASL(060)
D00010
CY
LSBMSB
1
LSBMSB
Wd: D00010
1 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1
0 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0
“0”
Description
Shift Instructions Section 5-14
0000
00
(060)
ASL D00010