System Linkage Instruction-Uisa; Processor Control Instructions-Uisa; Table 2-29. Trap Instructions; Table 2-30. System Linkage Instruction-Uisa - IBM PowerPC 750GX User Manual

Risc microprocessor
Table of Contents

Advertisement

User's Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
Trap Instructions
The trap instructions shown in Table 2-29 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 type of program exception is taken. For more
information, see Section 4.5.7 on page 170. If the tested conditions are not met, instruction execution
continues normally.

Table 2-29. Trap Instructions

Name
Trap Word Immediate
Trap Word
See Appendix F, "Simplified Mnemonics" in the PowerPC Microprocessor Family: The Programming Environ-
ments Manual for a complete set of simplified mnemonics.
2.3.4.5 System Linkage Instruction—UISA
The System Call (sc) instruction permits a program to call on the system to perform a service; see
Table 2-30. See also Section 2.3.6.1 on page 118 for additional information.
Table 2-30. System Linkage Instruction—UISA
Name
System Call
Executing this instruction causes the system-call exception handler to be evoked. For more information, see
Section 4.5.10 on page 171.
2.3.4.6 Processor Control Instructions—UISA
Processor control instructions are used to read from and write to the Condition Register (CR), Machine State
Register (MSR), and Special-Purpose Registers (SPRs).
See Section 2.3.5.1 on page 113 for the mftb instruction and Section 2.3.6.2 on page 118 for information
about the instructions used for reading from and writing to the MSR and SPRs.
Move-to/Move-from Condition Register Instructions
Table 2-31 summarizes the instructions for reading from or writing to the Condition Register.

Table 2-31. Move-to/Move-from Condition Register Instructions

Name
Move-to Condition Register Fields
Move-to Condition Register from XER
Move-from Condition Register
Programming Model
Page 108 of 377
Mnemonic
twi
tw
Mnemonic
sc
Mnemonic
mtcrf
mcrxr
mfcr
Syntax
TO,rA,SIMM
TO,rA,rB
Syntax
Syntax
CRM,rS
crfD
rD
gx_02.fm.(1.2)
March 27, 2006

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerpc 750gl

Table of Contents