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>arpl adjust privilege level (286/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]
ARPL              Adjust Privilege Level (286/386)   Flags: O D I T S Z A P C
                                                                      *
ARPL destination, source

       Logic:      if destination Privilege Level < source Privilege Level
                       destination Privilege Level . source Privilege Level
                       ZF . 1
                   else
                       ZF . 0

     This instruction checks to make sure that the destination Requested
     Privileged Level (RPL) is less than the source RPL. If it is, ARPL sets
     the destination RPL equal to the source RPL. Both destination and source
     must be valid selectors; source should be a 16-bit register.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   ARPL register, register    10 (286)     -        2    ARPL AX,CX
   ARPL memory, register      11 (286)     -        2    ARPL MEM_RPL,CX
  --------------------------------------------------------------------------

        Note:          This instruction is only available in privileged
                       mode.

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