Condition Register Logical Instructions; Trap Instructions - IBM PowerPC 604 User Manual

Risc
Table of Contents

Advertisement

2.3.4.4.3 Condition Register Logical Instructions
Condition register logical instructions, shown in Table 2-30, and the Move Condition
Register Field (mcrf) instruction are also defined as flow control instructions.
Table 2-30. Condition Register Logical Instructions
Name
Mnemonic
Operand Syntax
Condition Register AND
crand
crbD,crbA,crbB
Condition Register OR
cror
crbD,crbA,crbB
Condition Register XOR
crxor
crbD,crbA,crbB
Condition Register NANO
crnand
crbD,crbA,crbB
Condition Register NOR
crnor
crbD,crbA,crbB
Condition Register Equivalent
creqv
crbD,crbA, crbB
Condition Register AND with Complement
crandc
crbD,crbA, crbB
Condition Register OR
with
Complement
crorc
crbD,crbA, crbB
Move Condition Register Field
mcrf
crfD,crfS
Note that if the LR update option is enabled for any of these instructions, the PowerPC
architecture defines these fonns of the instructions as invalid.
2.3.4.4.4 Trap Instructions
The trap instructions shown in Table 2-31 are provided
to
test for a specified set of
conditions. If any of the conditions tested by a trap instruction are met, the system trap
handler is invoked. If the tested conditions are not met, instruction execution continues
normally.
Table 2-31. Trap Instructions
Name
Mnemonic
Operand
Syntax
Trap Word Immediate
twl
TO,rA,SIMM
Trap Word
tw
TO,rA,rB
See Appendix F, "Simplified Mnemonics," in
The Programming Environments Manual
for
a complete set of simplified mnemonics.
Chapter 2. PowerPC 604 Pr0C8880r Programming Model
2-45
-

Advertisement

Table of Contents
loading

Table of Contents