Outils pour utilisateurs

Outils du site


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

Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
back2root:ibm-pc-ms-dos:asm:instr:mul [2023/02/09 22:09] – créée fraterback2root:ibm-pc-ms-dos:instr:mul [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1
Ligne 1: Ligne 1:
-====== MUL ====== 
- 
-===== MUL - unsigned Multiply ===== 
- 
-Unsigned multiply of the accumulator by the source. If "src" is a byte value, then AL is used as the other multiplicand and the result is placed in AX. If "src" is a word value, then AX is multiplied by "src" and DX:AX  receives the result. If "src" is a double word value, then EAX is multiplied by "src" and EDX:EAX receives the result. 
- 
-The 386+ uses an early out algorithm which makes multiplying any size value in EAX as fast as in the 8 or 16 bit registers. 
- 
-**Usage:** 
-<code asm> 
- MUL src  
-</code> 
- 
-**Modifies flags:**  
- 
-<WRAP round box> 
-CF OF  
-</WRAP> 
- 
-^              ^  Clocks                       |||^  Size                ^ 
-^  Operands    ^  808x    ^  286  ^  386  ^  486  ^  Bytes  ^              ^ 
-| reg8          10/14    3    |  4    |  4    |  1      |              | 
-| none (PM)    |  -        -    |  4    |  3    |  1      |              | 
-| reg,reg      |  3        2    |  2    |  1    |  2      |              | 
-| mem,reg      |  16+EA    7    |  7    |  3    |  2-4    | (W88=24+EA)  | 
-| reg,mem      |  9+EA    |  7    |  6    |  1    |  2-4    | (W88=13+EA)  | 
-| reg,immed    |  4        3    |  2    |  1    |  3-4    |              | 
-| mem,immed    |  17+EA    7    |  7    |  3    |  3-6    | (W88=23+EA)  | 
-| accum,immed  |  4        3    |  2    |  1    |  2-3    |              | 
- 
-{{page>:back2root:ibm-pc-ms-dos:asm:instr:see-footer}} 
  
back2root/ibm-pc-ms-dos/instr/mul.txt · Dernière modification : 2023/02/24 14:16 de frater