Store Auxiliary Register
SAR
7-153
Assembly Language Instructions
Cycles for a Repeat (RPT) Execution of an SAR 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
SAR
AR0,DAT30 ;(DP = 6: addresses 0300h–037Fh)
Before Instruction
After Instruction
AR0
37h
AR0
37h
Data Memory
Data Memory
31Eh
18h
31Eh
37h
Example 2
SAR
AR0,*+
Before Instruction
After Instruction
ARP
0
ARP
0
AR0
401h
AR0
402h
Data Memory
Data Memory
401h
0h
401h
401h