Copies the contents of the specified segment register into a general-purpose register.
Note: The mfsrin instruction is supported only in the PowerPC architecture.
Bits | Value |
---|---|
0-5 | 31 |
6-10 | RT |
11-15 | /// |
16-20 | RB |
21-30 | 659 |
31 | / |
PowerPC | |
---|---|
mfsrin | RT, RB |
The mfsrin instruction copies the contents of segment register (SR), specified by bits 0-3 of the general-purpose register (GPR) RB, into GPR RT.
The mfsrin instruction has one syntax form and does not affect the Fixed-Point Exception Register. If the Record (Rc) bit is set to 1, the Condition Register Field 0 is undefined.
RT | Specifies the target general-purpose register for operation. |
RB | Specifies the source general-purpose register for SR calculation. |
The mfsrin instruction is privileged.
The mfsr (Move from Segment Register) instruction, mfsri (Move from Segment Register Indirect) instruction, mtsr (Move to Segment Register) instruction, mtsrin or mtsri (Move to Segment Register Indirect) instruction.