Motorola HC12 Refrence Manual page 213

Table of Contents

Advertisement

ORCC
Operation:
(CCR)
Description:
Performs bitwise logical inclusive OR between the content of memory
location M and the content of the CCR, and places the result in the CCR.
Each bit of the CCR after the operation is the logical OR of the corre-
sponding bits of M and of CCR before the operation. To set one or more
bits, set the corresponding bit of the mask equal to one. Bits correspond-
ing to zeros in the mask are not changed by the ORCC operation.
Condition Codes and Boolean Formulas:
S
Condition code bits are set if the corresponding bit was one before the
operation or if the corresponding bit in the instruction-provided mask
is one. The X interrupt mask cannot be set by any software instruction.
Addressing Modes, Machine Code, and Execution Times:
Source Form
ORCC # opr8i
CPU12
REFERENCE MANUAL
Logical OR CCR with Mask
+
(M) ⇒ CCR
X
H
I
N
Z
Address Mode
IMM
14 ii
INSTRUCTION GLOSSARY
V
C
Object Code
ORCC
Cycles
Access Detail
1
P
MOTOROLA
6-153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents