CH 4 Instructions 2
CH 4 Instructions 2
Syntax:
MUL source
The assembler assumes that the multiplicand will be of the same
size as the multiplier, therefore it multiplies the value stored on
the register given as operator by the one found to be contained in
AH if the multiplier is 8 bits or by AX if the multiplier is 16 bits.
When a multiplication is done with 8-bit values, the result is stored
on the AX register and when the multiplication is with 16 bit values
the result is stored on the even DX:AX register.
Examples:-
- IMUL BH
- IMUL CX
- IMUL [SI]
- Restrictions:-
Immediate data cannot be a source in this case.