Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine 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.1 | back2root: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: | ||
+ | |||
+ | **Usage:** | ||
+ | <code asm> | ||
+ | INS dest, | ||
+ | INSB | ||
+ | INSW | ||
+ | INSD ; (386+ only) | ||
+ | </ | ||
+ | |||
+ | **Modifies flags: | ||
+ | |||
+ | <WRAP round box> | ||
+ | none | ||
+ | </ | ||
+ | {{tablelayout? | ||
+ | ^ | ||
+ | ^ Operands | ||
+ | | dest, | ||
+ | | dest,port (PM) | - | ||
+ | | none | - | ||
+ | | none (PM) | ||
+ | |||
+ | <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 | ||
+ | </ | ||
+ | |||
+ | {{page> | ||