Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:instr:ins

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
back2root:ibm-pc-ms-dos:instr:ins [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1back2root:ibm-pc-ms-dos:instr:ins [2023/02/24 14:16] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. frater
Ligne 1: Ligne 1:
 +====== INS - INSB - INSW - INSD ======
 +
 +===== INS - Input String from Port (80186+) =====
 +
 +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.
 +
 +see also [[back2root:ibm-pc-ms-dos:instr:outs|OUTS]]
 +
 +**Usage:**
 +<code asm>
 + INS dest,port
 + INSB 
 + INSW
 + INSD ; (386+ only)
 +</code>
 +
 +**Modifies flags:** 
 +
 +<WRAP round box>
 +none
 +</WRAP>
 +{{tablelayout?rowsHeaderSource=Auto}}
 +^                  Clocks                             |||^  Size     ^
 +^  Operands        808x    ^  286  ^  386    486        Bytes  ^   ^
 +| dest,port        -        5    |  15    |  17        |  1      |   |
 +| dest,port (PM)  |  -        5    |  9-29  |  10/32/30  |  1      |   |
 +| none            |  -        5    |  15    |  17        |  1      |   |
 +| none (PM)        86-104  |  5    |  9/29  |  10/32/30  |  1      |   |
 +
 +<WRAP round box>
 +386+ protected mode timings depend on privilege levels.
 +
 +first number is the timing if:    CPL ó IOPL
 +
 +second number is the timing if:   CPL > IOPL
 +
 +third number is the timing if:    virtual mode on 486 processor
 +</WRAP>
 +
 +{{page>back2root:ibm-pc-ms-dos:instr:see-footer}}