
MOTOROLA
4-58
ADDRESSING MODES AND INSTRUCTION SET SUMMARY
For More Information On This Product,
Go to: www.freescale.com
RCPU
REFERENCE MANUAL
Refer to
E.6 Simplified Mnemonics for Condition Register Logical Instruc-
tions
for simplified mnemonics.
4.6.5 System Linkage Instructions
This section describes the system linkage instructions (see
Table 4-29
). The sys-
tem call (
sc
) instruction permits a program to call on the system to perform a ser-
vice and the system to return from performing a service or from processing an
exception.
Table 4-23 Condition Register Logical Instructions
Name
Mnemonic
Operand
Syntax
Operation
Condition
Register AND
crand
crb
D
,crb
A
,crb
B
The bit in the condition register specified by
crb
A is ANDed
with the bit in the condition register specified by
crb
B. The
result is placed into the condition register bit specified by
crb
D.
Condition
Register OR
cror
crb
D
,crb
A
,crb
B
The bit in the condition register specified by
crb
A is ORed with
the bit in the condition register specified by
crb
B. The result is
placed into the condition register bit specified by
crb
D.
Condition
Register XOR
crxor
crb
D
,crb
A
,crb
B
The bit in the condition register specified by
crb
A is XORed
with the bit in the condition register specified by
crb
B. The
result is placed into the condition register bit specified by
crb
D.
Condition
Register
NAND
crnand
crb
D
,crb
A
,crb
B
The bit in the condition register specified by
crb
A is ANDed
with the bit in the condition register specified by
crb
B. The
complemented result is placed into the condition register bit
specified by
crb
D.
Condition
Register NOR
crnor
crb
D
,crb
A
,crb
B
The bit in the condition register specified by
crb
A is ORed with
the bit in the condition register specified by
crb
B. The
complemented result is placed into the condition register bit
specified by
crb
D.
Condition
Register
Equivalent
creqv
crb
D
,crb
A
,
crb
B
The bit in the condition register specified by
crb
A is XORed
with the bit in the condition register specified by
crb
B. The
complemented result is placed into the condition register bit
specified by
crb
D.
Condition
Register AND
with
Complement
crandc
crb
D
,crb
A
,
crb
B
The bit in the condition register specified by
crb
A is ANDed
with the complement of the bit in the condition register specified
by
crb
B and the result is placed into the condition register bit
specified by
crb
D.
Condition
Register OR
with
Complement
crorc
crb
D
,crb
A
,
crb
B
The bit in the condition register specified by
crb
A is ORed with
the complement of the bit in the condition register specified by
crb
B and the result is placed into the condition register bit
specified by
crb
D.
Move
Condition
Register Field
mcrf
crf
D
,crf
S
The contents of
crf
S are copied into
crf
D. No other condition
register fields are changed.
F
Freescale Semiconductor, Inc.
n
.