English
Language : 

RM0004 Datasheet, PDF (1129/1176 Pages) STMicroelectronics – Programmer’s reference manual for Book E processors
Simplified mnemonics for PowerPC instructions
RM0004
1. Set CR[57].
crset 25
equivalent to
creqv 25,25,25
2. Clear CR0[SO].
crclr so
equivalent to
crxor 3,3,3
3. Same as (2), but clear CR3[SO].
crclr 4 * cr3 + so equivalent to
crxor 15,15,15
4. Invert the CR0[EQ].
crnot eq,eq
equivalent to
crnor 2,2,2
5. Same as (4), but CR4[EQ] is inverted and the result is placed into CR5[EQ].
crnot 4 * cr5 + eq, 4 * cr4 + eq equivalent to crnor 22,18,18
B.7 Trap instructions simplified mnemonics
The codes in Table 299 are for the most common combinations of trap conditions.
Table 299. Standard codes for trap instructions
Code
Description
TO encoding
<
>
=
<U(1) >U (2)
lt Less than
le Less than or equal
eq Equal
ge Greater than or equal
16
1
0
0
0
0
20
1
0
1
0
0
4
0
0
1
0
0
12
0
1
1
0
0
gt Greater than
nl Not less than
ne Not equal
ng Not greater than
8
0
1
0
0
0
12
0
1
1
0
0
24
1
1
0
0
0
20
1
0
1
0
0
llt Logically less than
lle Logically less than or equal
lge Logically greater than or equal
lgt Logically greater than
lnl Logically not less than
2
0
0
0
1
0
6
0
0
1
1
0
5
0
0
1
0
1
1
0
0
0
0
1
5
0
0
1
0
1
lng Logically not greater than
— Unconditional
6
0
0
1
1
0
31
1
1
1
1
1
1. The symbol ‘<U’ indicates an unsigned less-than evaluation is performed.
2. The symbol ‘>U’ indicates an unsigned greater-than evaluation is performed.
The mnemonics in Table 300 are variations of trap instructions, with the most useful TO
values represented in the mnemonic rather than specified as a numeric operand.
1129/1176