Claims
- 1. A method for generating an execute program counter value, comprising:
- generating a current first program counter value using a first program counter coupled to at least one of a plurality of instruction pipelines in a microprocessor, the current first program counter value having a current more significant first program counter portion and a current less significant first program counter portion and representing a program count value of a fetched instruction;
- storing the current first program counter value;
- generating a plurality of next less significant first program counter portions and corresponding next carry signals in a plurality of adders, each of the next less significant current first program counter portions and corresponding next carry signals, corresponding to separate instructions;
- generating an incremented current more significant program counter portion;
- selecting one of the incremented current more significant program counter portion and the current more significant program counter portion as a next more significant program counter portion based on one of the corresponding next carry signals; and
- providing the next less significant first program counter portions and corresponding next carry signals to an execute program counter circuit.
- 2. method as recited in claim 1 further comprising
- selecting the one of the corresponding next carry signals according to which of the separate instructions is dispatched for execution.
- 3. The method as recited in claim 1 further comprising:
- generating an execute program counter value using a selected one of the next less significant first program counter portions and a selected one of the corresponding next carry signals.
- 4. The method as recited in claim 1 further comprising:
- generating the next less significant first program counter portions and corresponding next carry signals by adding an instruction length value corresponding to each separate instruction to a current less significant program counter portion.
- 5. The method as recited in claim 4 wherein the separate instructions are reduced instruction set computer (RISC) instructions and wherein the instruction length values are determined according to a start of a next complex instruction set computer (CISC) instruction.
Parent Case Info
This application is a continuation of application Ser. No. 08/716,764, filed Sep. 23, 1996, now U.S. Pat. No. 5,799,162 which is a continuation of application Ser. No. 08/252,030, filed Jun. 1, 1994, now U.S. Pat. No. 5,559,975, which applications are incorporated herein by reference.
US Referenced Citations (36)
Foreign Referenced Citations (8)
Number |
Date |
Country |
0 180 005 |
May 1986 |
EPX |
0259095 A2 |
Mar 1988 |
EPX |
0 363 222 |
Apr 1990 |
EPX |
0380854 A3 |
Aug 1990 |
EPX |
0381471 A2 |
Aug 1990 |
EPX |
0454985 A2 |
Nov 1991 |
EPX |
0454984 A2 |
Nov 1991 |
EPX |
2281422 |
Mar 1995 |
GBX |
Continuations (2)
|
Number |
Date |
Country |
Parent |
716764 |
Sep 1996 |
|
Parent |
252030 |
Jun 1994 |
|