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>lar load access rights (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]
LAR               Load Access Rights (386)           Flags: O D I T S Z A P C
                                                                      *

LAR destination, source


           Logic:          destination . access rights(source)
                           if error ZF . 0
                           else ZF . 1

     This instruction loads the access rights of a selector (source) into
     the indicated register (destination). The source must be a
     register or memory location holding a valid selector. The destination
     must be a register, which will receive source's access rights.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   LAR register, register     14 (286)      -       3    LAR AX, DX
   LAR register, memory       16 (286)      -       5    LAR DX, SELECTOR
  --------------------------------------------------------------------------

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