Motorola HC12 Refrence Manual page 82

Table of Contents

Advertisement

ASLD
Operation:
C
Description:
Shifts all bits of double accumulator D one bit position to the left. Bit 0 is
loaded with a zero. The C status bit is loaded from the most significant
bit of D.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
C:
Addressing Modes, Machine Code, and Execution Times:
Source Form
ASLD
MOTOROLA
6-22
Arithmetic Shift Left Double Accumulator
(same as LSLD)
b7
b0
– – – – – –
A
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $0000; cleared otherwise.
N ⊕ C = [N • C] + [N • C] (for N and C after the shift)
Set if (N is set and C is cleared) or (N is cleared and C is set); cleared oth-
erwise (for values of N and C after the shift).
D15
Set if the MSB of D was set before the shift; cleared otherwise.
Address Mode
INH
INSTRUCTION GLOSSARY
b7
b0
– – – – – –
B
V
C
Object Code
59
ASLD
0
Cycles
Access Detail
1
O
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents