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:imul [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1 | back2root:ibm-pc-ms-dos:instr:imul [2023/03/03 23:53] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== IMUL ====== | ||
+ | |||
+ | ===== IMUL - Signed Multiply ===== | ||
+ | |||
+ | Signed multiplication of accumulator by " | ||
+ | * If the source operand is a byte value, it is multiplied by AL and the result stored in AX. | ||
+ | * If the source operand is a word value it is multiplied by AX and the result is stored in DX:AX. | ||
+ | |||
+ | <WRAP round info> | ||
+ | Other variations of this instruction allow specification of source and destination registers as well as a third immediate factor. | ||
+ | </ | ||
+ | |||
+ | **Usage:** | ||
+ | <code asm> | ||
+ | IMUL src | ||
+ | IMUL src, | ||
+ | IMUL dest, | ||
+ | IMUL dest, | ||
+ | </ | ||
+ | |||
+ | **Modifies flags: | ||
+ | |||
+ | <WRAP round box> | ||
+ | CF OF | ||
+ | </ | ||
+ | {{tablelayout? | ||
+ | ^ ^ Clocks | ||
+ | ^ Operands | ||
+ | | reg8 | ||
+ | | reg16 | 128-154 | ||
+ | | reg32 | - | - | 9-38 | ||
+ | | mem8 | ||
+ | | mem16 | 134-160 | ||
+ | | mem32 | - | - | 12-21 | 13-42 | 2-4 | | | ||
+ | | reg16, | ||
+ | | reg32, | ||
+ | | reg16, | ||
+ | | reg32, | ||
+ | | reg16, | ||
+ | | reg32, | ||
+ | | reg16, | ||
+ | | reg32, | ||
+ | | reg16, | ||
+ | | reg32, | ||
+ | |||
+ | {{page> | ||