Texas Instruments MSP430x1xx User Manual page 66

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

Instruction Set
* CLR[.W]
Clear destination
* CLR.B
Clear destination
Syntax
CLR
CLR.B
Operation
0 −> dst
Emulation
MOV
MOV.B
Description
The destination operand is cleared.
Status Bits
Status bits are not affected.
Example
RAM word TONI is cleared.
CLR
Example
Register R5 is cleared.
CLR
Example
RAM byte TONI is cleared.
CLR.B
RISC 16−Bit CPU
3-30
dst
or CLR.W dst
dst
#0,dst
#0,dst
TONI
; 0 −> TONI
R5
TONI
; 0 −> TONI

Advertisement

Table of Contents
loading

Table of Contents