52
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
11.4.1.9
Application Program Status Register
Name:
APSR
Access: Read-write
Reset:
0x000000000
The APSR contains the current state of the condition flags from previous instruction executions.
• N: Negative Flag
0: operation result was positive, zero, greater than, or equal
1: operation result was negative or less than.
• Z: Zero Flag
0: operation result was not zero
1: operation result was zero.
• C: Carry or Borrow Flag
Carry or borrow flag:
0: add operation did not result in a carry bit or subtract operation resulted in a borrow bit
1: add operation resulted in a carry bit or subtract operation did not result in a borrow bit.
• V: Overflow Flag
0: operation did not result in an overflow
1: operation resulted in an overflow.
• Q: DSP Overflow and Saturation Flag
Sticky saturation flag:
0: indicates that saturation has not occurred since reset or since the bit was last cleared to zero
1: indicates when an
SSAT
or
USAT
instruction results in saturation.
This bit is cleared to zero by software using an
MRS
instruction.
• GE[19:16]: Greater Than or Equal Flags
See
for more information.
31
30
29
28
27
26
25
24
N
Z
C
V
Q
–
23
22
21
20
19
18
17
16
–
GE[3:0]
15
14
13
12
11
10
9
8
–
7
6
5
4
3
2
1
0
–
Содержание SAM4S Series
Страница 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1142: ...1142 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 3 100 ball VFBGA Package Drawing ...
Страница 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Страница 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...