The MUL instruction multiplies the unsigned 8-bit integer in the accumulator and the unsigned 8-bit integer in the B register producing a 16-bit product. The low-order byte of the product is returned in the accumulator. The high-order byte of the product is returned in the B register. The OV flag is set if the product is greater than 255 (0FFh), otherwise it is cleared. The carry flag is always cleared.
Syntax : MUL AB
Example : MUL AB
It multiplies the data in Accumulator and B register. Lower order bytes of result is stored in accumulator and higher order bytes is stored in B register.
Syntax : MUL AB
Example : MUL AB
It multiplies the data in Accumulator and B register. Lower order bytes of result is stored in accumulator and higher order bytes is stored in B register.
- Instruction
- Opcode
- Bytes
- Flags
- MUL AB
- 0xA4
- 1
- C,OV