Multiply Unsigned
MPYU
7-121
Assembly Language Instructions
Cycles for a Single MPYU Instruction
Program
Operand
ROM
DARAM
SARAM
External
DARAM
1
1
1
1+p
SARAM
1
1
1, 2
†
1+p
External
1+d
1+d
1+d
2+d+p
† If the operand and the code are in the same SARAM block
Cycles for a Repeat (RPT) Execution of an MPYU Instruction
Program
Operand
ROM
DARAM
SARAM
External
DARAM
n
n
n
n+p
SARAM
n
n
n, n+1
†
n+p
External
n+nd
n+nd
n+nd
n+1+p+nd
† If the operand and the code are in the same SARAM block
Example 1
MPYU
16
;(DP = 4: addresses 0200h–027Fh)
Before Instruction
After Instruction
Data Memory
Data Memory
210h
0FFFFh
210h
0FFFFh
TREG
0FFFFh
TREG
0FFFFh
PREG
1h
PREG
0FFFE0001h
Example 2
MPYU
*,AR6
Before Instruction
After Instruction
ARP
5
ARP
6
AR5
210h
AR5
210h
Data Memory
Data Memory
210h
0FFFFh
210h
0FFFFh
TREG
0FFFFh
TREG
0FFFFh
PREG
1h
PREG
0FFFE0001h
Cycles