Mitsubishi M16C/60 Series Software Manual page 39

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

ASL
Op e r a t io n :
C
F u n c t io n :
This instruction shifts the content of A or M by one bit to the
left, with bit 0 always being set to 0 and bit 7 of A or M always
being contained in C.
St a t u s fla g :
N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
∆ASL∆A
Accumulator
∆ASL∆$zz
Zero page
∆ASL∆$zz,X
Zero page X
∆ASL∆$hhll
Absolute
∆ASL∆$hhll,X
Absolute X
A
RITHMETIC
b7
N is 1 when bit 7 of A or M is 1 after the operation;
otherwise it is 0.
No change
No change
No change
No change
No change
Z is 1 when the operation result is 0; otherwise it is 0.
C is 1 when bit 7 of A or M is 1, before this operation;
otherwise it is 0.
Statement
S
L
HIFT
EFT
Machine codes
Byte number
0A
16
06
, zz
16
16
16
, zz
16
16
0E
, ll
, hh
16
16
16
1E
, ll
, hh
16
16
16
ASL
b0
0
Cycle number
1
2
2
5
2
6
3
6
3
7
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/20 series

Table of Contents