Datasheet

www.ti.com
Instruction Set Description
4.6.3.14 INCX
* INCX.A Increment destination address-word
* INCX.[W] Increment destination word
* INCX.B Increment destination byte
INCX.A dst
Syntax
INCX dst or INCX.W dst
INCX.B dst
Operation dst + 1 dst
ADDX.A #1,dst
Emulation
ADDX #1,dst
ADDX.B #1,dst
Description The destination operand is incremented by one. The original contents are lost.
Status Bits N: Set if result is negative, reset if positive
Z: Set if dst contained 0FFFFFh, reset otherwise
Set if dst contained 0FFFFh, reset otherwise
Set if dst contained 0FFh, reset otherwise
C: Set if dst contained 0FFFFFh, reset otherwise
Set if dst contained 0FFFFh, reset otherwise
Set if dst contained 0FFh, reset otherwise
V: Set if dst contained 07FFFh, reset otherwise
Set if dst contained 07FFFh, reset otherwise
Set if dst contained 07Fh, reset otherwise
Mode Bits OSCOFF, CPUOFF, and GIE are not affected.
Example RAM address-word TONI is incremented by one.
INCX.A TONI ; Increment TONI (20-bits)
229
SLAU144JDecember 2004Revised July 2013 CPUX
Submit Documentation Feedback
Copyright © 2004–2013, Texas Instruments Incorporated