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.
OUT Instruction
 Detail Key Example                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Output to Port                        Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   OUT port,accumulator                              -none-
 
  See also: IN, OUTS, INS, ECHO Directive, MASM 5.1
Compatibility
 
  Description:
 
     Transfers a byte or word (or doubleword on the 80386/486) to a
     port from the accumulator register. The port address is specified
     by the destination operand, which can be DX or an 8-bit constant.
 
     In protected mode, a general-protection fault occurs if OUT is
     used when the current privilege level is greater than the value of
     the IOPL flag.
                                    -♦-