Texas Instruments TMS320C2XX Calculator User Manual


 
Indirect Addressing Mode
6-10
ister as the data memory address and then increments or decrements the
content of the current auxiliary register by the index amount.
Increment or decrement by an index amount using reverse carry. The
value in AR0 is the index amount. After the instruction uses the content of
the current auxiliary register as the data-memory address, that content is
incremented or decremented by the index amount. The addition or sub-
traction, in this case, is done with the carry propagation reversed (for
FFTs).
These four option types provide the seven indirect addressing options listed
in Table 6–1. The table also shows the instruction operand that corresponds
to each indirect addressing option and gives an example of how each option
is used.
Table 6–1. Indirect Addressing Operands
Option Operand Example
No increment or decrement * LT * loads the temporary register
(TREG) with the content of the data
memory address referenced by the
current AR.
Increment by 1 *+ LT *+ loads the temporary register
(TREG) with the content of the data
memory address referenced by the
current AR and then adds one to the
content of the current AR.
Decrement by 1 *– LT *– loads the temporary register
(TREG) with the content of the data
memory address referenced by the
current AR and then subtracts one from
the content of the current AR.
Increment by index amount *0+ LT *0+ loads the temporary register
(TREG) with the content of the data
memory address referenced by the
current AR and then adds the content
of AR0 to the content of the current AR.
Decrement by index amount
*0– LT *0– loads the temporary register
(TREG) with the content of the data
memory address referenced by the
current AR and then subtracts the con-
tent of AR0 from the content of the cur-
rent AR.