
e200z0 Core (Z0)
PXN20 Microcontroller Reference Manual, Rev. 1
14-8
Freescale Semiconductor
Integer exception register (XER). The XER indicates overflow and carries for integer operations.
See XER Register (XER), in Chapter 4, nteger Operations, of
Power Architecture Book E
Specification
for more information.
•
Link register (LR). The LR provides the branch target address for the Branch to Link Register
(
se_blr
,
se_blrl
) instructions, and is used to hold the address of the instruction that follows a branch
and link instruction, typically used for linking to subroutines. See Link Register (LR), in Chapter 3,
Branch and Condition Register Operations, of
Power Architecture Book E Specification
.
•
Count register (CTR). The CTR holds a loop count that can be decremented during execution of
appropriately coded branch instructions. The CTR also provides the branch target address for the
Branch to Count Register (
se_bctr
,
se_bctrl
) instructions. See Count Register (CTR), in Chapter 3,
Branch and Condition Register Operations, of
Power Architecture Book E Specification
.
14.3.1.2
Supervisor-Level Registers
In addition to the registers accessible in user mode, Supervisor-level software has access to additional
control and status registers used for configuration, exception handling, and other operating system
functions. The Power Architecture Book E defines the following supervisor-level registers:
•
Processor Control Registers
— Machine State Register (MSR). The MSR defines the state of the processor. The MSR can be
modified by the Move to Machine State Register
(
mtmsr
), System Call (
se_sc
), and Return from
Exception (
se_rfi
,
se_rfci
,
se_rfdi
)
instructions. It can be read by the Move from Machine State
Register (
mfmsr
)
instruction. When an interrupt occurs, the contents of the MSR are saved to
one of the machine state save/restore registers (SRR1, CSRR1, DSRR1).
— Processor version register (PVR). This register is a read-only register that identifies the
processor type and version (model) and the revision level of the processor.
shows
the PVR values and the corresponding processor type and version numbers for the cores used
on the PXN20 family.
— Processor Identification Register (PIR). This read-only register is provided to distinguish the
processor from other processors in the system.
•
Storage Control Register
— Process ID Register (PID, also referred to as PID0). This register is provided to indicate the
current process or task identifier. It is used by the Nexus2 module for Ownership Trace message
generation. Although the Power Architecture Book E allows for multiple PIDs, e200z0
implements only one.
•
Interrupt Registers
— Data Exception Address Register (DEAR). After most Data Storage Interrupts (DSI), or on an
Alignment Interrupt, the DEAR is set to the effective address (EA) generated by the faulting
instruction.
Table 14-1. PVR Values, and Processor Type and Version Numbers
Device
Core
PVR Value
Type
Version
PXN20
e200z0
0x8171_0000
0x17
0x1
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...