16 bit Assembly
Home Site Map Instruction Index
The MUL instruction is used to Multiply AX by the second operand.
The result is placed in DX:AX for 16 bit, or in AH:AL for 8 bit.
This command has 2 parts, Instruction, then either a Register or a memory address for each operand.
Assembly Sample | Description | 16 bit Machine Code |
---|---|---|
MUL BL | ; Multiplies AL by an 8 bit Register | F6 E3 |
MUL BX | ; Multiplies AX by a 16 bit Register | F7 E3 |
MUL [BX] | ; Multiplies AX by a memory address | F7 27 |
MUL [BX+2] | ; Multiplies AX by a memory address | F7 67 02 |