Motorola HC12 Refrence Manual page 193

Table of Contents

Advertisement

LSLB
Operation:
Description:
Shifts all bits of accumulator B one place to the left. Bit 0 is loaded with
zero. The C status bit is loaded from the most significant bit of B.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
C:
Addressing Modes, Machine Code, and Execution Times:
Source Form
LSLB
CPU12
REFERENCE MANUAL
Logical Shift Left B
(Same as ASLB)
b7
C
– – – – – –
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $00; 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).
B7
Set if the LSB of B was set before the shift; cleared otherwise.
Address Mode
INH
INSTRUCTION GLOSSARY
b0
0
V
C
Object Code
58
LSLB
Cycles
Access Detail
1
O
MOTOROLA
6-133

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents