Motorola HC12 Refrence Manual page 96

Table of Contents

Advertisement

BITB
Operation:
(B)
Description:
Performs bitwise logical AND on the content of accumulator B and the
content of memory location M, and modifies the condition codes accord-
ingly. Each bit of the result is the logical AND of the corresponding bits
of the accumulator and the memory location. Neither the content of the
accumulator nor the content of the memory location is affected.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
Addressing Modes, Machine Code, and Execution Times:
Source Form
BITB # opr8i
BITB opr8a
BITB opr16a
BITB oprx0_xysp
BITB oprx9,xysp
BITB oprx16,xysp
BITB [D ,xysp ]
BITB [ oprx16,xysp ]
MOTOROLA
6-36
Bit Test B
(M)
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $00; cleared otherwise.
0; Cleared.
Address Mode
IMM
DIR
EXT
IDX
IDX1
IDX2
[D,IDX]
[IDX2]
INSTRUCTION GLOSSARY
V
C
0
Object Code
C5 ii
D5 dd
F5 hh ll
E5 xb
E5 xb ff
E5 xb ee ff
E5 xb
E5 xb ee ff
BITB
Cycles
Access Detail
1
P
3
rfP
3
rOP
3
rfP
3
rPO
4
frPP
6
fIfrfP
6
fIPrfP
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents