Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ARPL Instruction
 Detail Key                               Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Adjust Requested Privilege Level      Flags: O D I T S Z A P C
            80286-80486 Protected Only                   ═════════════════
                                                                     ±
  Syntax:   ARPL dest,src
 
  See also: .286
 
  Description:
 
     Verifies that the destination Requested Privilege Level (RPL)
     field (bits 0 and 1 of a selector value) is less than the source
     RPL field. If it is not, ARPL adjusts the destination RPL up to
     match the source RPL.
 
     The destination operand should be a 16-bit memory or register
     operand containing the value of a selector. The source operand
     should be a 16-bit register containing the test value. The zero
     flag is set if the destination is adjusted; otherwise, the flag is
     cleared.
 
     Use ARPL only in 80286-80486 protected mode. See Intel
     documentation for details on selectors and privilege levels.
                                    -♦-