Skip to content

RDSEG

Operation

Read an SREG or the current CS image into an Rn register.

Assembler Syntax

RDSEG SREG(s), Rn(d)

RDSEG CS, Rn(d)

Privilege

Unprivileged

RDSEG reads the 64-bit image of an SREG-class segment register into the destination Rn register. The RDSEG CS encoding reads the current CS image.

2.75in

Encodings

RDSEG SREG(s), Rn(d)

Format: Instruction format for RDSEG SREG(s), Rn(d)

Format: Instruction format for RDSEG SREG(s), Rn(d)

2.75in RDSEG CS, Rn(d)

Format: Instruction format for RDSEG CS, Rn(d)

Format: Instruction format for RDSEG CS, Rn(d)