
Instruction Set Description
4.6.3.8
CLRX
* CLRX.A
Clear destination address-word
* CLRX.[W]
Clear destination word
* CLRX.B
Clear destination byte
CLRX.A dst
Syntax
CLRX dst
or
CLRX.W dst
CLRX.B dst
Operation
0
→
dst
MOVX.A #0,dst
Emulation
MOVX #0,dst
MOVX.B #0,dst
Description
The destination operand is cleared.
Status Bits
Status bits are not affected.
Mode Bits
OSCOFF, CPUOFF, and GIE are not affected.
Example
RAM address-word TONI is cleared.
CLRX.A
TONI
; 0 -> TONI
193
SLAU272C – May 2011 – Revised November 2013
CPUX
Copyright © 2011–2013, Texas Instruments Incorporated