Claims
- 1. A processor comprising:
- A. a semiconductor chip;
- B. a processor formed on the chip, the processor including an ALU and selected registers that are associated with the ALU, each selected register being formed of a pair of first and second registers, the ALU storing program data in one of the first and second registers for each selected register;
- C. a context change signal lead formed on the semiconductor chip, the context change signal lead carrying a signal having a first state indicating a context of a first set of program instructions operating on first data stored in the selected registers and a second state indicating a context of a second set of program instructions operating on second data stored in the selected registers; and
- D. context switching circuitry formed on the semiconductor chip, the context switching circuitry being connected to the selected registers and the context change signal lead, the context change switching circuitry connecting one of the pair of first and second registers, for each selected register, to hold the first data in response to the first state of the context change signal and connecting the other of the pair of first and second registers, for each selected register, to hold the second data in response to the second state of the context change signal.
- 2. The processor of claim 1 in which the selected registers include an accumulator, an accumulator buffer, an auxiliary register, a compare register, an index register, a processor mode status register, a product register, a status register 0, a status register 1, a temporary register for multiplier, a temporary register for shift count and a temporary register for bit test.
- 3. The processor of claim 1 in which the context change signal lead receives a hardware interrupt signal forming the context change signal.
- 4. The processor of claim 1 in which the context change signal lead receives a signal indicating one of an interrupt, a software trap, and a subroutine.
- 5. The processor of claim 1 in which the processor includes a hardwired multiplier coupled to the ALU.
- 6. The processor of claim 1 in which each selected register includes the first register having an output connected to the input of the second register and the second register having an output connected to the input of the first register and the context switching circuitry moving the first data from the first register to the second register for each selected register.
- 7. The processor of claim 1 in which each selected register includes the first and second register both having an input coupled to receive data from the ALU and the context switching circuitry changes the flow of data being received by a selected register from the first register to the second register.
- 8. The processor of claim 1 in which the context switching circuitry includes a multiplexer selectively switching data from the ALU to the first and second registers of each selected register.
- 9. The processor of claim 1 in which the context switching circuitry includes a clock signal connected to each first and second register of each selected register selectively to clock data from the ALU into one and the other of the first and second registers.
- 10. The processor of claim 1 in which the selected registers include an accumulator and a product register.
- 11. A digital signal processor comprising:
- A. a semiconductor chip;
- B. a digital signal processor formed on the chip, the processor including an ALU and an accumulator and product register that are associated with the ALU, each of the accumulator and product register being formed of a pair of first and second registers, the ALU storing program data in one of the first and second registers for each of the accumulator and product register;
- C. an interrupt signal lead formed on the semiconductor chip, the interrupt signal lead carrying an interrupt signal having a non-interrupt state indicating a context of a first set of program instructions operating on first data stored in the accumulator and product register and an interrupt state indicating a context of an interrupt set of program instructions operating on second data stored in the accumulator and product register; and
- D. context switching circuitry formed on the semiconductor chip, the context switching circuitry being connected to the accumulator and product register and the interrupt signal lead, the context change switching circuitry connecting one of the pair of first and second registers, for each of the accumulator and product register, to hold the first data in response to the first state of the interrupt signal and connecting the other of the pair of first and second registers, for each of the accumulator and product register, to hold the second data in response to the second state of the interrupt signal.
CROSS REFERENCE TO RELATED APPLICATIONS
This application is related to coassigned application Ser. No. 347,605, filed May 4, 1989, now U.S. Pat. No. 5,586,275; application Ser. No. 347,596, filed May 4, 1989, now U.S. Pat. No. 5,072,418; application Ser. No. 347,966, filed May 4, 1989, now U.S. Pat. No. 5,155,812; application Ser. No. 347,968, filed May 4, 1989, now U.S. Pat. No. 5,829,054; application Ser. No. 347,967, filed May 4, 1989, now U.S. Pat. No. 5,617,574; and application Ser. No. 347,969, filed May 4, 1989, now U.S. Pat. No. 5,724,248.
This application is a division of application Ser. No. 08/288,368, filed Aug. 9, 1994, now U.S. Pat. No. 5,550,993; which was a continuation of Ser. No. 07/959,008, filed Oct. 9, 1992, now U.S. Pat. No. 5,349,687; which was a division of Ser. No. 07/864,776, filed Apr. 7, 1992, now U.S. Pat. No. 5,319,789; which was a division of Ser. No. 07/347,615, filed May 4, 1989, now U.S. Pat. No. 5,142,677.
US Referenced Citations (35)
Non-Patent Literature Citations (4)
Entry |
First-Generation TMS320 User's Guide, Texas Instruments, pp. 3-9, A-1-20, Apr. 1988. |
Second-Generation TMS320C2x User's Guide, Texas Instruments, pp. 3-7, 6-48-51, A-1-16, Dec. 1990. |
First-Generation TMS320 User's Guide, Texas Instruments, pp. 3-32-35, 5-6-14, Apr. 1988. |
Second-Generation TMS320C2x User's Guide, Texas Instruments, pp. 3-59-62, 5-16-21, Dec. 1990. |
Divisions (3)
|
Number |
Date |
Country |
Parent |
288368 |
Aug 1994 |
|
Parent |
864776 |
Apr 1992 |
|
Parent |
347615 |
May 1989 |
|
Continuations (1)
|
Number |
Date |
Country |
Parent |
959008 |
Oct 1992 |
|