Store Low Accumulator With Shift
SACL
7-151
Assembly Language Instructions
Cycles for a Repeat (RPT) Execution of an SACL 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
SACL
DAT11,1
;(DP = 4: addresses 0200h–027Fh,
;left shift of 1)
Before Instruction
After Instruction
ACC
X
7C63 8421
ACC
X
7C63 8421h
C
C
Data Memory
Data Memory
20Bh
05h
20Bh
0842h
Example 2
SACL
*,0,AR7
;(No shift)
Before Instruction
After Instruction
ARP
6
ARP
7
AR6
300h
AR6
300h
ACC
X
00FF 8421h
ACC
X
00FF 8421h
C
C
Data Memory
Data Memory
300h
05h
300h
8421h