Motorola HC12 Refrence Manual page 206

Table of Contents

Advertisement

MUL
(A) × (B) ⇒ A : B
Operation:
Description:
Multiplies the 8-bit unsigned binary value in accumulator A by the 8-bit
unsigned binary value in accumulator B, and places the 16-bit unsigned
result in double accumulator D. The carry flag allows rounding the most
significant byte of the result through the sequence: MUL, ADCA #0.
Condition Codes and Boolean Formulas:
S
C:
Addressing Modes, Machine Code, and Execution Times:
Source Form
MUL
MOTOROLA
6-146
Multiply
8-Bit by 8-Bit (Unsigned)
X
H
I
N
Z
R7
Set if bit 7 of the result (B bit 7) is set; cleared otherwise.
Address Mode
INH
INSTRUCTION GLOSSARY
V
C
Object Code
12
MUL
Cycles
Access Detail
3
ffO
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents