x86 Assembly Language Reference Manual

Segment Register Instructions

The segment register instructions load far pointers (segment addresses) into the segment registers.

Table 3–11 Segment Register Instructions

Solaris Mnemonic 

Intel/AMD Mnemonic 

Description 

Notes 

lds{wl}

LDS

load far pointer using %ds

ldsl and ldsw invalid under -xarch=amd64

les{wl}

LES

load far pointer using %es

lesl and lesw invalid under -xarch=amd64

lfs{wl}

LFS

load far pointer using %fs

 

lgs{wl}

LGS

load far pointer using %gs

 

lss{wl}

LSS

load far pointer using %ss