Output to Port                                

86/88

Y

186

Y

286

Y

386

Y

486

Y

OUT port, accumulator

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    OUT transfers a byte or a word from AL or AX to the specified port.
    The port may be specified with an immediate byte constant (allowing
    access to ports 0 through 255) or with a word value in DX (allowing
    access to ports 0 through 65,535).

       Note:          It is advised that hardware not use I/O ports F8h
                      through FFh, since these are reserved for
                      controlling the math coprocessor and future
                      processor extensions.

------------------------------------ Timing ----------------------------------

OpCode          Instruction             386     286     86
E6 ib           OUT imm8, AL            10      3       10
E7 ib           OUT imm8, AX            10      3       10
E7 ib           OUT imm8, EAX           10
EE              OUT DX, AL              5       3       8
EF              OUT DX, AX              5       3       8
EF              OUT DX, EAX             5

------------------------------------ Logic -----------------------------------

        (Port) = accumulator

See Also IN OUTS INS


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .