Claims
- 1. A method for utilizing multiple addressing modes in a computer system having a processor said method comprising the steps of:providing an instruction set for said processor to execute; dedicating a first section of each instruction of said instruction set to identify where each instruction is to be executed; establishing an indirect addressing pointer in a memory; and establishing a dedicated set of said virtual register addresses in said memory equal to a number of indirect addressing modes associated with said indirect addressing pointer wherein each of said virtual register address locations dictate an indirect addressing mode to be used with said indirect addressing pointer when accessed thereby allowing flexibility of selecting one of a plurality of addressing modes dynamically on an instruction by instruction basis.
- 2. The method of claim 1 wherein said step of establishing a dedicated set of virtual register addresses in said memory further comprises the step of dedicating one virtual register address for initiating simple indirect addressing when accessed.
- 3. The method of claim 1 wherein said step of establishing a dedicated set of virtual register addresses in said memory further comprises the step of dedicating one virtual register address for initiating indirect addressing with auto post increment when accessed.
- 4. The method of claim 1 wherein said step of establishing a dedicated set of virtual register addresses in said memory further comprises the step of dedicating one virtual register address for initiating indirect addressing with auto post decrement when accessed.
- 5. The method of claim 1 wherein said step of establishing a dedicated set of virtual register addresses in said memory further comprises the step of dedicating one virtual register address for initiating indirect addressing with auto pre increment when accessed.
- 6. The method of claim 1 wherein said step of establishing a dedicated set of virtual register addresses in said memory further comprises the step of dedicating one virtual register address for initiating indirect addressing with offset when accessed.
- 7. The method of claim 1 wherein said step of establishing an indirect addressing pointer in said memory further comprises the step of establishing an indirect addressing pointer which is a 12 bit wide indirect addressing pointer.
- 8. The method of claim 1 further comprising the steps of:establishing a plurality of indirect addressing pointers in said memory; and establishing a dedicated set of virtual register addresses in said memory equal to a total number of indirect addressing modes associated with said plurality of indirect addressing pointers wherein each virtual register address dictates an indirect addressing mode to be used with an associated indirect addressing pointer when accessed thereby allowing flexibility of selecting addressing modes dynamically on an instruction by instruction basis.
- 9. The method of claim 8 wherein said step of establishing a dedicated set of virtual register addresses in said memory equal to a total number of indirect addressing modes associated with said plurality of indirect addressing pointers further comprises the step of selecting an indirect address mode for each of said virtual register addresses.
- 10. The method of claim 9 wherein said step of selecting an indirect address mode for each of said virtual register addresses further comprises the step of selecting an indirect addressing mode from a group consisting of: simple indirect addressing, indirect addressing with auto post increment, indirect addressing with auto post decrement, indirect addressing with auto pre increment, and indirect addressing with offset.
- 11. The method of claim 9 wherein said step of establishing a plurality of indirect addressing pointers in said memory further comprises the step of establishing a plurality of indirect addressing pointers which are 12 bit wide indirect addressing pointers.
- 12. A processor, said processor comprising:a central processing unit for executing an instruction; a memory coupled to said central processing unit for storing data; a pointer register in said memory for storing an address location where said instruction is to access when an address associated with said pointer register is accessed; dedicated virtual register address locations in said memory associated with said pointer register which dictates an indirect addressing mode to be used with said pointer register when one of said dedicated address locations is accessed thereby allowing flexibility of selecting one of a plurality of addressing modes dynamically on an instruction by instruction basis.
- 13. A processor in accordance with claim 12 further comprising one virtual register address location dedicated for initiating simple indirect addressing when accessed.
- 14. A processor in accordance with claim 12 further comprising one virtual register address location dedicated for initiating indirect addressing with auto post increment when accessed.
- 15. A processor in accordance with claim 12 further comprising one virtual register address location dedicated for initiating indirect addressing with auto post decrement when accessed.
- 16. A processor in accordance with claim 12 further comprising one virtual register address location dedicated for initiating indirect addressing with auto pre increment when accessed.
- 17. A processor in accordance with claim 12 further comprising one virtual register address location dedicated for initiating indirect addressing with offset when accessed.
- 18. A processor in accordance with claim 12 wherein said pointer register is a 12 bit wide pointer register.
- 19. A processor in accordance with claim 12 further comprising:a plurality of pointer registers in said memory; and dedicated virtual register address locations in said memory equal to a total number of indirect addressing modes associated with said plurality of pointer registers wherein each dedicated address location dictates an indirect addressing mode to be used with an associated pointer register of said plurality of pointer registers when accessed thereby allowing flexibility of selecting addressing modes dynamically on an instruction by instruction basis.
- 20. A processor in accordance with claim 19 wherein each of said plurality of pointer registers are 12 bit wide pointer registers.
- 21. A processor in accordance with claim 19 wherein each of said dedicated virtual register address locations in said memory equal to a total number of indirect addressing modes associated with said plurality of pointer registers initiates one indirect addressing mode from a group consisting of: simple indirect addressing, indirect addressing with auto post increment, indirect addressing with auto post decrement, indirect addressing with auto pre increment, and indirect addressing with offset.
Parent Case Info
This is a continuation of application Ser. No. 08/946,426 filed Nov. 7, 1997, now U.S. Pat No. 6,192,463.
US Referenced Citations (15)
Non-Patent Literature Citations (2)
Entry |
European Search Report 98118314.8-2201 dated Oct. 22, 1999. |
C.D. Hall and L.M. Hornung: Indirect Instruction Set Architecture, IBM Technical Disclosure Bulletin, vol. 18, No. 4, pp. 963-964 dated Sep. 1975. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
08/946426 |
Oct 1997 |
US |
Child |
09/691375 |
|
US |