LTA
Load TREG and Accumulate Previous Product
7-94
Cycles for a Repeat (RPT) Execution of an LTA 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
LTA
36
;(DP = 6: addresses 0300h–037Fh,
;PM =0: no shift of product)
Before Instruction
After Instruction
Data Memory
Data Memory
324h
62h
324h
62h
TREG
3h
TREG
62h
PREG
0Fh
PREG
0Fh
ACC
X
5h
ACC
0
14h
C
C
Example 2
LTA
*,AR5
;(PM = 0)
Before Instruction
After Instruction
ARP
4
ARP
5
AR4
324h
AR4
324h
Data Memory
Data Memory
324h
62h
324h
62h
TREG
3h
TREG
62h
PREG
0Fh
PREG
0Fh
ACC
X
5h
ACC
0
14h
C
C