![Mitsubishi M16C/20 Series Software Manual Download Page 38](http://html1.mh-extra.com/html/mitsubishi/m16c-20-series/m16c-20-series_software-manual_1808679038.webp)
32
AN D
AN D
LOGICAL
AND
When (T) = 0, (A)
←
(A)
∧
(M)
(T) = 1, (M(X))
←
(M(X))
∧
(M)
When T = 0, this instruction transfers the contents of A and M
to the ALU which performs a bit-wise AND operation and stores
the result back in A.
When T = 1, this instruction transfers the contents M(X) and M
to the ALU which performs a bit-wise AND operation and stores
the results back in M(X). When T = 1 the contents of A remain
unchanged, but status flags are changed.
M(X) represents the contents of memory where is indicated by
X.
N is 1 when bit 7 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.
No change
Op e r a t io n :
F u n c t io n :
St a t u s fla g :
N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
Immediate
Zero page
Zero page X
Absolute
Absolute X
Absolute Y
(Indirect X)
(Indirect Y)
Statement
∆
AND
∆
#$nn
∆
AND
∆
$zz
∆
AND
∆
$zz,X
∆
AND
∆
$hhll
∆
AND
∆
$hhll,X
∆
AND
∆
$hhll,Y
∆
AND
∆
($zz,X)
∆
AND
∆
($zz),Y
Machine codes
29
16
, nn
16
25
16
, zz
16
35
16
, zz
16
2D
16
, ll
16
, hh
16
3D
16
, ll
16
, hh
16
39
16
, ll
16
, hh
16
21
16
, zz
16
31
16
, zz
16
Byte number
2
2
2
3
3
3
2
2
Cycle number
2
3
4
4
5
5
6
6
Note: When T = 1, add 3 to a cycle number.