mfsrin

Move From Segment Register Indirect

mfsrin RT, RB

Indirect read of segment register using RB.

Details

Move the contents of the segment register selected by bits 0–3 of GPR RB into GPR RT. This is an indirect read of the 32-bit segment register and is not available in 64-bit mode. No status fields are affected.

Pseudocode Operation

SR_index ← RB[0:3]
RT ← SR[SR_index]

Example

mfsrin r3, r5

Encoding

Binary Layout
31
0
RT
6
/
11
RB
16
659
21
/
31
 
Format X-form
Opcode 0x7C000526
Extension Base

Operands

  • RT
    Target
  • RB
    Effective Addr