dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 119

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
5.1.1
The program counter (PC) is a 16-bit register that contains the address of the next location to be fetched
from program memory space. The PC may point to instructions, data operands, or addresses of operands.
Reference to this register is always implicit and is implied by most instructions. This special-purpose
address register is stacked when hardware DO looping is initiated (on the hardware stack), when a jump to
a subroutine is performed (on the software stack), and when interrupts occur (on the software stack).
5.1.2
The instruction latch is a 16-bit internal register used to hold all instruction opcodes fetched from memory.
The instruction decoder, in turn, uses the contents of the instruction latch to generate all control signals
necessary for pipeline control — for normal instruction fetches, jumps, branches, and hardware looping.
5.1.3
The interrupt control unit receives all interrupt requests, arbitrates among them, and then checks the
highest-priority interrupt request against the interrupt mask bits for the DSC core (I1 and I0 in the SR). If
the requesting interrupt has higher priority than the current priority level of the DSC core, then exception
processing begins. When exception processing begins, the interrupt control unit provides the address of the
interrupt vector for interrupts generated on the DSC core, whereas the peripherals generate the vector
address for interrupts generated by an on-chip peripheral.
Interrupts have a simple priority structure with levels zero or one. Level 0 is the lowest interrupt priority
level (IPL) and is maskable. Level 1 is the highest level and is not maskable. Two interrupt mask bits in the
SR reflect the current IPL of the DSC core and indicate the level needed for an interrupt source to interrupt
the processor.
The DSP56800 core provides support for internal (on-chip) peripheral interrupts and two external interrupt
sources, IRQA and IRQB. The interrupt control unit arbitrates between interrupt requests generated
externally and by the on-chip peripherals.
Asserting the reset pin causes the DSC core to enter the reset processing state. This has higher priority and
overrides any activity in the interrupt control unit and the exception processing state.
Freescale Semiconductor
Program Counter
Instruction Latch and Instruction Decoder
Interrupt Control Unit
15
15
DO Loop Stack (HWS)
Program
Counter
PC
Figure 5-2. Program Controller Programming Model
0
0
15
Program Controller
Program Controller
12
Status Register (SR)
MR
Loop Counter
8 7
LC
CCR
0
0
Architecture and Programming Model
15
15
Operating Mode
Loop Address
Register
OMR
LA
0
0
AA0009
5-3

Related parts for dsp56800