Instruction Model
PowerPC e500 Core Family Reference Manual, Rev. 1
Freescale Semiconductor
3-25
Note that the e500 implements the Integer Select instruction, isel, which can be used to more
efficiently handle sequences with multiple conditional branches. Its syntax is given in
Section 3.8.2, “Integer Select (isel) APU
.” A detailed description including an example of how isel
can be used can be found in the APUs chapter of the EREF.
3.3.1.3.3
Condition Register Logical Instructions
CR logical instructions, shown in
Table 3-18
, and the Move Condition Register Field (mcrf)
instruction are also defined as flow control instructions.
Note that if the LR update option is enabled for any of these instructions, the Book E architecture
defines these forms of the instructions as invalid.
3.3.1.3.4
Trap Instructions
The trap instructions shown in
Table 3-19
test for a specified set of conditions. If any of the
conditions tested by a trap instruction are met, the system trap type program interrupt is taken. For
more information, see
Section 5.7.7, “Program Interrupt
.” If the tested conditions are not met,
instruction execution continues normally. See
Appendix C, “Simplified Mnemonics for PowerPC
Instructions
.”
Table 3-18. Condition Register Logical Instructions
Name Mnemonic
Syntax
Condition Register AND
crand crb
D
,crb
A
,crb
B
Condition Register OR
cror crb
D
,crb
A
,crb
B
Condition Register XOR
crxor crb
D
,crb
A
,crb
B
Condition Register NAND
crnand crb
D
,crb
A
,crb
B
Condition Register NOR
crnor crb
D
,crb
A
,crb
B
Condition Register Equivalent
creqv crb
D
,crb
A
,crb
B
Condition Register AND with Complement
crandc crb
D
,crb
A
,crb
B
Condition Register OR with Complement
crorc crb
D
,crb
A
,crb
B
Move Condition Register Field
mcrf crf
D
,crf
S
Table 3-19. Trap Instructions
Name Mnemonic Syntax
Trap Word Immediate
twi
TO
,r
A
,
SIMM
Trap Word
tw
TO
,r
A
,r
B
Summary of Contents for PowerPC e500 Core
Page 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Page 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Page 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Page 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Page 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Page 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...