SCG0
GIE
Z
C
rw-0
15
0
Reserved
N
CPU
OFF
OSC
OFF
SCG1
V
8
7
9
CPU Registers
118
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
CPUX
Figure 4-9. SR Bits
describes the SR bits.
Table 4-1. SR Bit Description
Bit
Description
Reserved
Reserved
V
Overflow. This bit is set when the result of an arithmetic operation overflows the signed-variable range.
ADD(.B), ADDX(.B,.A),
ADDC(.B), ADDCX(.B.A),
ADDA
Set when:
po positive = negative
ne negative = positive
otherwise reset
SUB(.B), SUBX(.B,.A),
SUBC(.B),SUBCX(.B,.A),
SUBA, CMP(.B),
CMPX(.B,.A), CMPA
Set when:
positive – negative = negative
negative – positive = positive
otherwise reset
SCG1
System clock generator 1. This bit may be used to enable or disable functions in the clock system depending on the
device family; for example, DCO bias enable or disable.
SCG0
System clock generator 0. This bit may be used to enable or disable functions in the clock system depending on the
device family; for example, FLL enable or disable.
OSCOFF
Oscillator off. When this bit is set, it turns off the LFXT1 crystal oscillator when LFXT1CLK is not used for MCLK or
SMCLK. In FRAM devices, CPUOFF must be 1 to disable the cyrstal oscillator.
CPUOFF
CPU off. When this bit is set, it turns off the CPU and requests a low-power mode according to the settings of bits
OSCOFF, SCG0, and SCG1.
GIE
General interrupt enable. When this bit is set, it enables maskable interrupts. When it is reset, all maskable interrupts
are disabled.
N
Negative. This bit is set when the result of an operation is negative and cleared when the result is positive.
Z
Zero. This bit is set when the result of an operation is 0 and cleared when the result is not 0.
C
Carry. This bit is set when the result of an operation produced a carry and cleared when no carry occurred.
NOTE:
Bit manipulations of the SR should be done by the following instructions: MOV, BIS, and
BIC.