Motorola HC12 Refrence Manual page 95

Table of Contents

Advertisement

BITA
Operation:
(A)
Description:
Performs bitwise logical AND on the content of accumulator A 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
BITA # opr8i
BITA opr8a
BITA opr16a
BITA oprx0_xysp
BITA oprx9,xysp
BITA oprx16,xysp
BITA [D ,xysp ]
BITA [ oprx16,xysp ]
CPU12
REFERENCE MANUAL
Bit Test A
(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
85 ii
95 dd
B5 hh ll
A5 xb
A5 xb ff
A5 xb ee ff
A5 xb
A5 xb ee ff
BITA
Cycles
Access Detail
1
P
3
rfP
3
rOP
3
rfP
3
rPO
4
frPP
6
fIfrfP
6
fIPrfP
MOTOROLA
6-35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents