A SERVICE OF

logo

ADDS
Add to Accumulator With Sign Extension Suppressed
7-30
Cycles for a Repeat (RPT) Execution of an ADDS 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 ADDS 0 ;(DP = 6: addresses 0300h–037Fh)
Before Instruction After Instruction
Data Memory Data Memory
300h 0F006h 300h 0F006h
ACC X 00000003h ACC 0 0000F009h
CC
Example 2 ADDS *
Before Instruction After Instruction
ARP 0 ARP 0
AR0 0300h AR0 0300h
Data Memory Data Memory
300h 0FFFFh 300h 0FFFFh
ACC X 7FFF0000h ACC 0 7FFFFFFFh
CC