Outils pour utilisateurs

Outils du site


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

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:imul [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1back2root: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 "src" with result placed in the accumulator.
 +  * 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.
 +</WRAP>
 +
 +**Usage:**
 +<code asm>
 + IMUL src
 + IMUL src,immed ; (286+ only)
 + IMUL dest,src,immed8 ; (286+ only)
 + IMUL dest,src ; (386+ only)
 +</code>
 +
 +**Modifies flags:** 
 +
 +<WRAP round box>
 +CF OF 
 +</WRAP>
 +{{tablelayout?rowsHeaderSource=Auto}}
 +^                    ^  Clocks                            |||^  Size     ^
 +^  Operands          ^  808x      286  ^  386    ^  486    ^  Bytes  ^   ^
 +| reg8                80-98    |  13    9-14    13-18  |  2      |   |
 +| reg16              |  128-154  |  21    9-22    13-26  |  2      |   |
 +| reg32              |  -        |  -    |  9-38    13-41  |  2      |   |
 +| mem8                86-104    16    12-17  |  13-18  |  2-4    |   |
 +| mem16              |  134-160  |  24    12-25  |  13-26  |  2-4    |   |
 +| mem32              |  -        |  -    |  12-21  |  13-42  |  2-4    |   |
 +| reg16,reg16        |  -        |  -    |  9-22    13-26  |  3-5    |   |
 +| reg32,reg32        |  -        |  -    |  9-38    13-42  |  3-5    |   |
 +| reg16,mem16        |  -        |  -    |  12-25  |  13-26  |  3-5    |   |
 +| reg32,mem32        |  -        |  -    |  12-41  |  13-42  |  3-5    |   |
 +| reg16,immed        |  -        |  21    9-22    13-26  |  3      |   |
 +| reg32,immed        |  -        |  21    9-38    13-42  |  3-6    |   |
 +| reg16,reg16,immed  |  -        |  2    |  9-22    13-26  |  3-6    |   |
 +| reg32,reg32,immed  |  -        |  21    9-38    13-42  |  3-6    |   |
 +| reg16,mem16,immed  |  -        |  24    12-25  |  13-26  |  3-6    |   |
 +| reg32,mem32,immed  |  -        |  24    12-41  |  13-42  |  3-6    |   |
 +
 +{{page>back2root:ibm-pc-ms-dos:instr:see-footer}}