Claims
- 1. A data processor having a pipelining system which is composed of a plurality of stages and which processes instructions, at least some of the instructions being processed in a first of said plurality of stages and subsequently transferred in the pipeline for processing by another of said plurality of stages also having at least one addressing mode which designates the operand of an instruction by a stackpointer said stackpointer being controllably renewable, comprising:
- at least first and second working stackpointers said second working stackpointer being distinct and independent from said first working stackpointer, wherein said first working stackpointer can be independently referenced by said first of said plurality of stages and said second working stackpointer can be independently referenced by a second of said plurality of stages;
- means for storing operands into a stack, said stack utilizing said first and second working stackpointers;
- means for transferring the value stored in said first working stackpointer to said second working stackpointer, said transferring being synchronized with said, transfer of an instruction so that the second working stackpointer points to an operand previously referenced by said first working stackpointer; and
- control means which renews said first working stackpointer and second working stackpointer.
- 2. A data processor as set forth in claim 1, wherein a first and second of said plurality of stages are an address calculation stage and an execution stage, respectively.
- 3. A method for executing instructions in a data processor having a pipelining system which is composed of a plurality of stages, each stage for performing a portion of the processing of instructions, the processing of at least one instruction being movable from a first of said plurality of stages, to another of said plurality of stages, said at least one instruction for by using a stackpointer to designate an operand in a plurality of operands in a stack, the method comprising:
- providing a first renewable working stackpointer which can be referenced by a first address calculation stage of said pipelining system;
- providing a second renewable working stackpointer which can be referenced by a second execution stage of said pipelining system;
- said second renewable working stackpointer being independent and distinct from said first renewable working stackpointer;
- providing said one instruction to said address calculation stage;
- renewing said first renewable working stackpointer;
- said first renewable working stackpointer pointing to the operand of said one instruction;
- transferring data stored in said first renewable working stackpointer into said second renewable working stackpointer such that said second renewable working stackpointer points to said operand of said one instruction, said transferring being synchronized with moving the processing for said instruction from said address calculation stage to said execution stage; and
- referencing said second renewable working stackpointer during said second execution stage to execute said instruction.
- 4. A method, as claimed in claim 3, further comprising:
- providing a second instruction for renewing a stackpointer to said address calculation stage; and
- renewing said first and said second stackpointers simultaneously.
Priority Claims (1)
Number |
Date |
Country |
Kind |
62-145852 |
Jun 1987 |
JPX |
|
Parent Case Info
This is a continuation of application Ser. No. 07/198,421, filed May 25, 1988, now abandoned.
US Referenced Citations (3)
Number |
Name |
Date |
Kind |
4025771 |
Lynch |
May 1977 |
|
4270181 |
Tanakura |
May 1981 |
|
4697233 |
Scheuneman et al. |
Sep 1987 |
|
Non-Patent Literature Citations (1)
Entry |
"Microcomputer Architecture and Programming", John F. Wakerly (1981), John Wiley & Sons. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
198421 |
May 1988 |
|