LACC
Load Accumulator With Shift
7-74
Example 1
LACC
6,4
;(DP = 8: addresses 0400h–047Fh,
;SXM = 0)
Before Instruction
After Instruction
Data Memory
Data Memory
406h
01h
406h
01h
ACC
X
012345678h
ACC
X
10h
C
C
Example 2
LACC
*,4
;(SXM = 0)
Before Instruction
After Instruction
ARP
2
ARP
2
AR2
0300h
AR2
0300h
Data Memory
Data Memory
300h
0FFh
300h
0FFh
ACC
X
12345678h
ACC
X
0FF0h
C
C
Example 3
LACC
#0F000h,1 ;(SXM = 1)
Before Instruction
After Instruction
ACC
X
012345678h
ACC
X
FFFFE000h
C
C