Texas Instruments TMS320C2XX User Manual

Page 152

Advertising
background image

Indirect Addressing Mode

6-16

Example 6–9. Decrement by 1

ADD *–,8

;Operates as in Example 6–7, but in
;addition, the current auxiliary register
;is decremented by one.

Example 6–10. Increment by Index Amount

ADD *0+,8

;Operates as in Example 6–7, but in
;addition, the content of register AR0
;is added to the current auxiliary
;register.

Example 6–11. Decrement by Index Amount

ADD *0–,8

;Operates as in Example 6–7, but in
;addition, the content of register AR0
;is subtracted from the current auxiliary
;register.

Example 6–12. Increment by Index Amount With Reverse Carry Propagation

ADD *BR0 +,8

;Operates as in Example 6–10, except that
;the content of register AR0 is added to
;the current auxiliary register with
;reverse carry propagation.

Example 6–13. Decrement by Index Amount With Reverse Carry Propagation

ADD *BR0 –,8

;Operates as in Example 6–11, except that
;the content of register AR0 is subtracted
;from the current auxiliary register with
;reverse carry propagation.

Advertising