Input from Port                               

86/88

Y

186

Y

286

Y

386

Y

486

Y

IN accumulator, port

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    IN transfers a byte or a word from a port to AL or AX. The port may be
    specified by an immediate byte value (for ports 0 through 255) or by
    the DX register (allowing access to all ports).

       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
E4              IN AL, imm8             12      5       8
E5              IN AX, imm8             12      5       8
E5              IN EAX, imm8            12
EC              IN AL, DX               13      5       8
ED              IN AX, DX               13      5       8
ED              IN EAX, DX              13

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

        accumulator = (port)

See Also INS OUTS OUT


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