Claims
- 1. A data processing apparatus comprising a central processing unit formed in a single IC chip for comparing data, arithmetically processing data and branching data, said central processing unit including a memory including a plurality of addressable memory locations, and at least two general register sets, each of said general register sets comprising a plurality of associated general registers for storing a program counter, a program status word, and data, and a general register set pointer for designating any of said general register sets, each of said general registers of each of said general register sets having a first address to be designated when said general register set pointer designates said associated general register set and a second address to designate a memory location used as a work area when said general register set pointer designates the other of said general register sets, said general register sets including at least one common general register for storing data associated with either of said general register sets, and means for addressing said common general register to store data therein.
- 2. In a data processing system having a central processing unit including an internal memory containing a plurality of addressable register locations and means for addressing said register locations in response to address data contained in specified addressing registers, the combination comprising:
- a pointer address register containing a first general register set pointer code designating a first group of register locations in said internal memory, at least one of said locations in said first group containing a common general register applicable to a first program;
- a first address register containing a register address code designating a selected register location within the group of register locations designated by said pointer code;
- means for combining the address codes from said pointer address register and said first address register to combine said first pointer and address codes to form a first address for accessing said selected register location within said first group of register locations in said internal memory through said means for addressing during execution of said first program;
- means for detecting a request to initiate execution of a second program;
- means for entering a second general register set pointer code into said pointer address register in response to said request, said second code designating a second group of register locations in said internal memory, at least one of said locations in said second group containing a common general register applicable to said second program; and
- means for enabling said means for combining the address codes from said pointer address register and said first address register to combine said second pointer and address codes to form a second address for accessing said selected register location within said second group of locations in said internal memory through said addressing means during execution of said second program.
- 3. In a data processing system having a central processing unit including an internal memory containing a plurality of addressable register locations and means for addressing said register locations in response to address data contained in specified addressing registers, the combination comprising:
- a pointer address register containing a first general register set pointer code designating a first group of register locations in said internal memory, at least one of said locations in said first group containing a program counter applicable to a first program;
- a first address register containing a register address code designating a selected register location within the group of register locations designated by said pointer code;
- means for combining the address codes from said pointer address register and said first address register to combine said first pointer and address codes to form a first address for accessing said selected register location within said first group of register locations in said internal memory through said means for addressing during execution of said first program;
- means for detecting a request to initiate execution of a second program;
- means for entering a second general register set pointer code into said pointer address register in response to said request, said second code designating a second group of register locations in said internal memory, at least one of said locations in said second group containing a program counter applicable to said second program; and
- means for enabling said means for combining the address codes from said pointer address register and said first address register to combine said second pointer and address codes to form a second address for accessing said selected register location within said second group of locations in said internal memory through said addressing means during execution of said second program.
- 4. In a data processing system having a central processing unit including an internal memory containing a plurality of addressable register locations and means for addressing said register locations in response to address data contained in specified addressing registers, the combination comprising:
- a pointer address register containing a first general register set pointer code designating a first group of register locations in said internal memory, at least one of said locations in said first group containing a program status word applicable to a first program;
- a first address register containing a register address code designating a selected register location within the group of register locations designated by said pointer code;
- means for combining the address codes from said pointer address register and said first address register to combine said first pointer and address codes to form a first address for accessing said selected register location within said first group of register locations in said internal memory through said means for addressing during execution of said first program;
- means for detecting a request to initiate execution of a second program;
- means for entering a second general register set pointer code into said pointer address register in response to said request, said second code designating a second group of register locations in said internal memory, at least one of said locations in said second group containing a program status word applicable to said second program; and
- means for enabling said means for combining the address codes from said pointer address register and said first address register to combine said second pointer and address codes to form a second address for accessing said selected register location within said second group of locations in said internal memory through said addressing means during execution of said second program.
Priority Claims (3)
Number |
Date |
Country |
Kind |
52-57100 |
May 1977 |
JPX |
|
52-57101 |
May 1977 |
JPX |
|
52-57102 |
May 1977 |
JPX |
|
Parent Case Info
This is a continuation of application Ser. No. 907,856, filed May 19, 1978, now U.S. Pat. No. 4,217,638.
US Referenced Citations (13)
Non-Patent Literature Citations (3)
Entry |
"TMS 9900 Microprocessor Data Manual", Texas Instruments Inc., Oct. 1976, pp. 3-7. |
"PDP 11/45 Processor Handbook", Digital Equipment Corp., 1971, pp. 9-13. |
"Microprocessors and Microcomputers", B. Soucek, 1976, pp. 427-466. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
907856 |
May 1978 |
|