Sach – Texas Instruments TMS320C2XX User Manual
Page 302
Store High Accumulator With Shift
SACH
7-149
Assembly Language Instructions
Cycles for a Repeat (RPT) Execution of an SACH Instruction
Program
Operand
ROM
DARAM
SARAM
External
DARAM
n
n
n
n+p
SARAM
n
n
n, n+2
†
n+p
External
2n+nd
2n+nd
2n+nd
2n+2+nd+p
† If the operand and the code are in the same SARAM block
Example 1
SACH
DAT10,1
;(DP = 4: addresses 0200h–027Fh,
;left shift of 1)
Before Instruction
After Instruction
ACC
X
4208001h
ACC
X
4208001h
C
C
Data Memory
Data Memory
20Ah
0h
20Ah
0841h
Example 2
SACH
*+,0,AR2
;(No shift)
Before Instruction
After Instruction
ARP
1
ARP
2
AR1
300h
AR1
301h
ACC
X
4208001h
ACC
X
4208001h
C
C
Data Memory
Data Memory
300h
0h
300h
0420h