Texas Instruments MSP430x1xx User Manual page 69

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

Advertisement

* CLRZ
Clear zero bit
Syntax
CLRZ
0 → Z
Operation
or
(.NOT.src .AND. dst −> dst)
Emulation
BIC
Description
The constant 02h is inverted (0FFFDh) and logically ANDed with the
destination operand. The result is placed into the destination. The clear zero
bit instruction is a word instruction.
Status Bits
N: Not affected
Z: Reset to 0
C: Not affected
V: Not affected
Mode Bits
OSCOFF, CPUOFF, and GIE are not affected.
Example
The zero bit in the status register is cleared.
CLRZ
#2,SR
Instruction Set
RISC 16−Bit CPU
3-33

Advertisement

Table of Contents
loading

Table of Contents