Preliminary
The enabling of trap debug events may affect the interrupt type caused by the execution of tw instruction.
Specifically, trap instructions may be enabled to cause Debug interrupts instead of Program interrupts. See
Trap (TRAP) Debug Event on page 234 for more details.
Table 9-31. Extended Mnemonics for tw
Mnemonic
Operands
trap
tweq
RA, RB
twge
RA, RB
twgt
RA, RB
twle
RA, RB
twlge
RA, RB
twlgt
RA, RB
twlle
RA, RB
twllt
RA, RB
twlng
RA, RB
twlnl
RA, RB
twlt
RA, RB
twne
RA, RB
instrset.fm.
September 12, 2002
Function
Trap unconditionally.
Extended mnemonic for
tw 31,0,0
Trap if (RA) equal to (RB).
Extended mnemonic for
tw 4,RA,RB
Trap if (RA) greater than or equal to (RB).
Extended mnemonic for
tw 12,RA,RB
Trap if (RA) greater than (RB).
Extended mnemonic for
tw 8,RA,RB
Trap if (RA) less than or equal to (RB).
Extended mnemonic for
tw 20,RA,RB
Trap if (RA) logically greater than or equal to (RB).
Extended mnemonic for
tw 5,RA,RB
Trap if (RA) logically greater than (RB).
Extended mnemonic for
tw 1,RA,RB
Trap if (RA) logically less than or equal to (RB).
Extended mnemonic for
tw 6,RA,RB
Trap if (RA) logically less than (RB).
Extended mnemonic for
tw 2,RA,RB
Trap if (RA) logically not greater than (RB).
Extended mnemonic for
tw 6,RA,RB
Trap if (RA) logically not less than (RB).
Extended mnemonic for
tw 5,RA,RB
Trap if (RA) less than (RB).
Extended mnemonic for
tw 16,RA,RB
Trap if (RA) not equal to (RB).
Extended mnemonic for
tw 24,RA,RB
PPC440x5 CPU Core User's Manual
Other Registers
Altered
Page 441 of 589
tw
Trap Word