8051 instruction :: Mul

MUL


Operation:MUL
Function:Multiply Accumulator by B
Syntax:MUL AB

InstructionsOpCodeBytesCyclesFlags
MUL AB0xA414C, OV

Description: Multiples the unsigned value of the Accumulator by the unsigned value of the "B" register. The least significant byte of the result is placed in the Accumulator and the most-significant-byte is placed in the "B" register.

The Carry Flag (C) is always cleared.

The Overflow Flag (OV) is set if the result is greater than 255 (if the most-significant byte is not zero), otherwise it is cleared.









Post Your Comments Here :
 


User Login

Username :


Password :