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.
AND Instruction
 Detail Key Example                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Logical AND                           Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   AND dest,src                                 0       ± ± ? ± 0
 
  See also: AND Operator, &&, OR, XOR, NOT, SHL, SHR, TEST,
            OPTION NOSIGNEXTEND
 
  Description:
 
     Performs a bitwise AND operation on the source and destination
     operands and stores the result in the destination operand.
 
     For each bit position in the operands, if both bits are set,
     the corresponding bit of the result is set. Otherwise, the
     corresponding bit of the result is cleared.
                                    -♦-