SAM3N0C Atmel Corporation, SAM3N0C Datasheet - Page 47

no-image

SAM3N0C

Manufacturer Part Number
SAM3N0C
Description
Manufacturer
Atmel Corporation
Datasheets
10.4.3.6
• N
Negative or less than 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.
11011A–ATARM–04-Oct-10
31
23
15
N
7
Application Program Status Register
30
22
14
Z
6
The PSR bit assignments are:
Access these registers individually or as a combination of any two or all three registers, using
the register name as an argument to the MSR or MRS instructions. For example:
The PSR combinations and attributes are:
Table 10-3.
1.
2.
See the instruction descriptions
tion about how to access the program status registers.
The APSR contains the current state of the condition flags from previous instruction executions.
See the register summary in
Register
PSR
IEPSR
IAPSR
EAPSR
• read all of the registers using PSR with the MRS instruction
• write to the APSR using APSR with the MSR instruction.
The processor ignores writes to the IPSR bits.
Reads of the EPSR bits return zero, and the proces-
29
21
13
C
5
sor ignores writes to the these bits.
Type
RW
RO
RW
RW
PSR register combinations
(1)
(2)
(1), (2)
ICI/IT
Combination
APSR, EPSR, and IPSR
EPSR and IPSR
APSR and IPSR
APSR and EPSR
28
20
12
V
4
ISR_NUMBER
Table 10-2 on page 44
Reserved
“MRS” on page 143
27
19
11
Q
3
for its attributes. The bit assignments are:
and
26
18
10
2
“MSR” on page 144
ICI/IT
Reserved
25
17
9
1
for more informa-
SAM3N
ISR_NUMBER
24
16
T
8
0
47

Related parts for SAM3N0C