MACD
Multiply and Accumulate With Data Move
7-110
Example 2
MACD
0FF00h,*,AR6
;(PM = 0, CNF = 1)
Before Instruction
After Instruction
ARP
5
ARP
6
AR5
308h
AR5
308h
Data Memory
Data Memory
308h
23h
308h
23h
Data Memory
Data Memory
309h
18h
309h
23h
Program Memory
Program Memory
FF00h
4h
FF00h
4h
TREG 45h
TREG
23h
PREG
458972h
PREG
8Ch
ACC
X
723EC41h
ACC
0
76975B3h
C
C
Note:
The data move function for MACD can occur only within on-chip data memory RAM
blocks.