Input from Port to String                          

86/88

Y

186

Y

286

Y

386

Y

486

Y

INS/INSB/INSW/INSD dest, port

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    Loads data from port to the destination ES:(E)DI  (even if a
    destination operand is supplied).  (E)DI is adjusted by the size
    of the operand and increased if the Direction Flag is cleared and
    decreased if the Direction Flag is set.   For INSB, INSW, INSD no
    operands are allowed and the size is determined by the mnemonic.

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

OpCode          Instruction             386     286     86
6C              INS                     15      5
6D              INS                     15      5
6D              INS                     15
6C              INSB                    15      5
6D              INSW                    15      5
6D              INSD                    15

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

        [ES:DI] = (port)
        if DF = 0 then
                DI = DI + n
        else
                DI = DI - n

See Also IN OUT OUTS CLD STD


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