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:outs [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1 | back2root:ibm-pc-ms-dos:instr:outs [2023/02/24 14:16] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== OUTS - OUTSB - OUTSW - OUTSD ====== | ||
+ | |||
+ | ===== INS - Output String from Port (80186+) ===== | ||
+ | |||
+ | Transfers a byte, word or doubleword from " | ||
+ | |||
+ | For instructions with no operands the " | ||
+ | |||
+ | When the Direction Flag is set SI is decremented, | ||
+ | |||
+ | * If the port number is in the range of 0-255 it can be specified as an immediate. | ||
+ | * If greater than 255 then the port number must be specified in DX. Since the PC only decodes 10 bits of the port address, values over 1023 can only be decoded by third party vendor equipment and also map to the port range 0-1023. | ||
+ | |||
+ | see also [[back2root: | ||
+ | |||
+ | **Usage:** | ||
+ | <code asm> | ||
+ | OUTS dest, | ||
+ | OUTSB | ||
+ | OUTSW | ||
+ | OUTSD ; (386+ only) | ||
+ | </ | ||
+ | |||
+ | **Modifies flags: | ||
+ | |||
+ | <WRAP round box> | ||
+ | none | ||
+ | </ | ||
+ | {{tablelayout? | ||
+ | ^ | ||
+ | ^ Operands | ||
+ | | port, | ||
+ | | port,src (PM) | - | ||
+ | |||
+ | <WRAP round box> | ||
+ | 386+ protected mode timings depend on privilege levels. | ||
+ | |||
+ | |first number is the timing when: | CPL != IOPL| | ||
+ | |second number is the timing when: | CPL > IOPL| | ||
+ | |third number is the timing when: | ||
+ | </ | ||
+ | |||
+ | {{page> | ||