dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 9

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
8.7.5
8.8
8.9
8.10
8.10.1
8.10.1.1
8.10.1.2
8.10.1.3
8.10.2
8.10.3
8.11
8.12
8.13
8.13.1
8.13.2
Chapter 9
JTAG and On-Chip Emulation (OnCE™)
9.1
9.2
9.2.1
9.2.2
9.3
9.3.1
9.3.2
9.3.2.1
9.3.2.2
9.3.2.3
9.3.2.4
Appendix A
Instruction Set Details
A.1
A.2
A.3
A.4
A.4.1
A.4.1.1
A.4.1.2
A.4.1.3
A.4.1.4
A.4.1.5
A.4.1.6
A.4.1.7
A.4.1.8
A.4.2
Freescale Semiconductor
Parameters and Local Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-28
Time-Critical DO Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-29
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-30
Jumps and JSRs Using a Register Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-33
Freeing One Hardware Stack Location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-34
Multitasking and the Hardware Stack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-34
Combined JTAG and OnCE Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
JTAG Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
OnCE Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
Condition Code Computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
Array with an Incrementing Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-27
Setting Interrupt Priorities in Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-30
Hardware Looping in Interrupt Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-32
Identifying System Calls by a Number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-32
Saving the Hardware Stack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-35
Restoring the Hardware Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-35
JTAG Capabilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
JTAG Port Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
OnCE Port Capabilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
OnCE Port Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
The Condition Code Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7
Effects of the Operating Mode Register’s SA Bit . . . . . . . . . . . . . . . . . . . . A-11
High Priority or a Small Number of Instructions . . . . . . . . . . . . . . . . . . . 8-31
Many Instructions and Programmable Priorities . . . . . . . . . . . . . . . . . . . 8-32
Command, Status, and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
Breakpoint and Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
Pipeline Save and Restore. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
FIFO History Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
Many Instructions of Equal Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-31
Size (SZ) — Bit 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7
Limit (L) — Bit 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8
Extension in Use (E) — Bit 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8
Unnormalized (U) — Bit 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9
Negative (N) — Bit 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9
Zero (Z) — Bit 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10
Overflow (V) — Bit 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10
Carry (C) — Bit 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10
ix

Related parts for dsp56800