11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

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.

-23 876543210I * 1* JSO I * I Mel yoJ OE1MBIMAII I IFigure 5-6 OMR FormatOPERATING MODE A, BDATA ROM ENABLEINTERNAL Y MEMORY DISABLEOPERATING MODE CRESERVEDSTOP DELAYRESERVEDRESERVED5.4.3 Operating Mode RegisterThe OMR is a 24-bit register (only six bits are d~fined) that sets the current operatingmode <strong>of</strong> the processor. Each chip in the DSP56K family <strong>of</strong> processors has its own set <strong>of</strong>operating modes which determine the memory maps for program and data memories, andthe startup procedure that occurs when the chip leaves the reset state. The OMR bits areonly affected by processor reset and by the ANDI, ORI, and MOVEC instructions, whichdirectly reference the OMR.The OMR format with all <strong>of</strong> its defined bits is shown in Figure 5-6. For product-specificOMR bit definitions, see the individual chip's user manual for details on its respective operatingmodes.5.4.4 System StackThe SS is a separate 15X32-bit internal memory divided into two banks, the SSH and theSSL, each 16 bits wide. The SSH stores the PC contents, and the SSL stores the SR contentsfor subroutine calls, long interrupts, and program looping. The SS will alsC? store theLA and LC registers. The SS is in stack memory space; its address is always inherent andimplied by the current instruction.The contents <strong>of</strong> the PC and SR are pushed on the top location <strong>of</strong> the SS when a subroutinecall or long interrupt occurs. When a return from subroutine (RTS) occurs, thecontents <strong>of</strong> the top location in the SS are pulled and put in the PC; the SR is not affected.When an RTI occurs, the conte~ts <strong>of</strong> the top location in the SS are pulled to both the PCand SR.The SS is also used to implement no-overhead nested hardware DO loops. When the DOinstruction is executed, the LA:LC are pushed on the SS, then the PC:SR are pushed on

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

Saved successfully!

Ooh no, something went wrong!