28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

M•CORE M210 Central Processor Unit (CPU)<br />

The supervisor programming model consists of the user model plus 16<br />

additional 32-bit general-purpose registers (R[15:0]’, or the alternate<br />

file), the entire PSR, and a set of status/control registers (CR[12:0]).<br />

Setting the S bit in the PSR enables supervisor mode operation.<br />

The alternate file allows very low overhead context switching for<br />

real-time event handling. While the alternate file is enabled,<br />

general-purpose operands are accessed from it.<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

The vector base register (VBR) determines the base address of the<br />

exception vector table. Exception shadow registers EPC and EPSR are<br />

used to save the states of the program counter and PSR, respectively,<br />

when an exception occurs. Shadow registers FPC and FPSR save the<br />

states of the program counter and PSR, respectively, when an exception<br />

occurs.<br />

Scratch registers (SS[4:0]) are used to handle exception events.<br />

The global control (GCR) and status (GSR) registers can be used for a<br />

variety of system monitoring tasks.<br />

The supervisor programming model includes the PSR, which contains<br />

operation control and status information. In addition, a set of exception<br />

shadow registers is provided to save the state of the PSR and the<br />

program counter at the time an exception occurs. A separate set of<br />

shadow registers is provided for fast interrupt support to minimize<br />

context saving overhead.<br />

Five scratch registers are provided for supervisor software use in<br />

handling exception events. A single register is provided to alter the base<br />

address of the exception vector table. Two registers are provided for<br />

global control and status.<br />

Technical Data <strong>MMC2107</strong> – Rev. 2.0<br />

148 M•CORE M210 Central Processor Unit (CPU) MOTOROLA<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!