English
Language : 

PXN20RM Datasheet, PDF (396/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller
e200z6 Core (Z6)
• Decrementer register (DEC)—a decrementing counter that is updated at the same rate as the time
base. The DEC provides a means of signaling an exception after a specified amount of time. The
DEC is typically used as a general-purpose software timer. Note that the decrementer always runs
when the system is clocked, and can be written to by software at any time.
• Decrementer auto reload register (DECAR)—provides a value that is automatically reloaded (if
enabled) into the decrementer register when the decrementer reaches 0.
For more information on the fixed-interval timer, watchdog timer, and timer and counter registers, refer to
the e200z6 PowerPCTM Core Reference Manual and EREF: A Programmer's Reference Manual for
Freescale Book E Processors.
13.3.6 Signal Processing Extension APU (SPE APU)
13.3.6.1 Overview
The Power Architecture embedded category 32-bit instructions operate on the lower (least significant) 32
bits of the 64-bit GPRs. New SPE instructions are defined that view the 64-bit register as being composed
of a vector of two 32-bit elements, and some of the instructions also read or write 16-bit elements. These
new instructions can also be used to perform scalar operations by ignoring the results of the upper 32-bit
half of the register file.
Some instructions are defined that produce a 64-bit scalar result. Vector fixed-point instructions operate
on a vector of two 32-bit or four 16-bit fixed-point numbers resident in the 64-bit GPRs. Vector
floating-point instructions operate on a vector of two 32-bit single-precision floating-point numbers
resident in the 64-bit GPRs. Scalar floating-point instructions operate on the lower half of GPRs. These
single-precision floating-point instructions do not have a separate register file; there is a single shared
register file for all instructions. Figure 13-18 shows two different representations of the 64-bit GPRs. The
shaded half is the only region operated on by the 32-bit Power Architecture embedded category
instructions.
GPRx
0
31 32
63
Upper-most significant word
Lower-least significant word
0
GPRx
15 16
31 32
47 48
63
Figure 13-18. 64-bit General-Purpose Registers
13.3.7 SPE Programming Model
Not all SPE instructions record events such as overflow, saturation, and negative/positive result. See the
description of the individual SPE instruction in the e200z6 core reference for information on which
conditions are recorded and where they are recorded. Most SPE instructions record conditions to the
SPEFSCR. Vector compare instructions store the result of the comparison into the condition register (CR).
13-32
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor