MUL
Operands:
REG
memory
Unsigned multiply.
Algorithm:
when operand is a byte:
AX = AL * operand.
when operand is a word:
(DX AX) = AX * operand.
Example:
MOV AL, 200 ; AL = 0C8h
MOV BL, 4
MUL BL ; AX = 0320h (800)
RET
Flags:
C Z S O P A
r ? ? r ? ?
CF=OF=0 when high section of the result is zero.