Motorola HC12 Refrence Manual page 114

Table of Contents

Advertisement

CLC
⇒ C bit
0
Operation:
Description:
Clears the C status bit. This instruction is assembled as ANDCC #$FE.
The ANDCC instruction can be used to clear any combination of bits in
the CCR in one operation.
CLC can be used to set up the C bit prior to a shift or rotate instruction
involving the C bit.
Condition Codes and Boolean Formulas:
S
C:
Addressing Modes, Machine Code, and Execution Times:
Source Form
CLC translates to...
ANDCC #$FE
MOTOROLA
6-54
Clear Carry
X
H
I
N
Z
0; Cleared.
Address Mode
IMM
INSTRUCTION GLOSSARY
V
C
0
Object Code
10 FE
CLC
Cycles
Access Detail
1
P
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents