mfsrin (Move from Segment Register Indirect) instruction

Purpose

Copies the contents of the specified segment register into a general-purpose register.

Note: The mfsrin instruction is supported only in the PowerPC® architecture.

Syntax

Bits Value
0 - 5 31
6 - 10 RT
11 - 15 ///
16 - 20 RB
21 - 30 659
31 /
PowerPC® 
mfsrin RT, RB

Description

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.

Parameters

Item Description
RT Specifies the target general-purpose register for operation.
RB Specifies the source general-purpose register for SR calculation.

Security

The mfsrin instruction is privileged.