Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>lfs load far pointer in fs (386) flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LFS               Load Far Pointer in FS (386)       Flags: O D I T S Z A P C

LFS destination register, memory operand

           Logic:        FS . SEGMENT(memory operand)
                         destination register . OFFSET(memory operand)

     This instruction loads the segment address of a far pointer into FS and
     the offset address of pointer into the indicated destination register.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   LFS  register, farpointer               -        4    LFS DI, FARLOC
  --------------------------------------------------------------------------

        Note:          The size of the source and destination operands
                       must be the same as the current segment word size.

See Also: LGS LSS

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson