Mitsubishi M16C/60 Series Software Manual page 45

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

Advertisement

BIT
TEST
(A) ∧ (M)
Op e r a t io n :
F u n c t io n :
This instruction takes a bit-wise logical AND of A and M
contents; however, the contents of A and M are not modified.
The contents of N, V, Z are changed, but the contents of A, M
remain unchanged.
St a t u s fla g : N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
∆BIT∆$zz
Zero page
∆BIT∆$hhll
Absolute
BIT
IN MEMORY WITH ACCUMULATOR
N is 1 when bit 7 of M is 1; otherwise it is 0.
V is 1 when bit 6 of M is 1; otherwise it is 0.
No change
No change
No change
No change
Z is 1 when the result of the operation is 0; otherwise Z is
0.
No change
Statement
Machine codes
Byte number
24
, zz
16
16
2C
, ll
, hh
16
16
16
BIT
Cycle number
2
3
3
4
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/20 series

Table of Contents