Microcomputer having variable bit width area for displacement and circuit for handling immediate data larger than instruction word
DCFirst Claim
Patent Images
1. A CPU capable of processing instructions in an instruction set and formed on a semiconductor chip, comprising:
- said instructions having an instruction length of each of the instructions to be processed by said CPU in said instruction set being of a first bit length;
an instruction register coupled to an instruction memory storing said instructions to be processed by said CPU in said instruction set, wherein a one instruction fetched in the instruction register has a displacement value;
decode means being supplied with said one instruction fetched in said instruction register and decoding said one instruction supplied from said instruction register;
an execution unit performing an operation of data,wherein the maximum data word length of said data to be processed by said execution unit is a second bit length;
a program counter storing an address of said one instruction fetched to said instruction register; and
wherein data stored in an address which is indicated by adding the address stored in said program counter to the displacement value is provided to said execution unit when the execution unit performs an operation for immediate data having a bit length of greater than said first bit length; and
,wherein said instruction set has at least one conditional branch instruction and at least one unconditional branch instruction, each of said conditional and said unconditional branch instructions having an area comprising a displacement to designate a jumped address, a bit width of said displacement area of said conditional branch instruction being different than a bit width of said displacement area of said unconditional branch instruction.
8 Assignments
Litigations
0 Petitions
Accused Products
Abstract
Herein disclosed is a microcomputer MCU adopting the general purpose register method. The microcomputer is enabled to have a small program capacity or a high program memory using efficiency and a low system cost, while enjoying the advantage of simplification of the instruction decoding as in the RISC machine having a fixed length instruction format of the prior art, by adopting a fixed length instruction format having a power of 2 but a smaller bit number than that of the maximum data word length fed to instruction execution means. And, the control of the coded division is executed by noting the code bits.
20 Citations
21 Claims
-
1. A CPU capable of processing instructions in an instruction set and formed on a semiconductor chip, comprising:
-
said instructions having an instruction length of each of the instructions to be processed by said CPU in said instruction set being of a first bit length; an instruction register coupled to an instruction memory storing said instructions to be processed by said CPU in said instruction set, wherein a one instruction fetched in the instruction register has a displacement value; decode means being supplied with said one instruction fetched in said instruction register and decoding said one instruction supplied from said instruction register; an execution unit performing an operation of data, wherein the maximum data word length of said data to be processed by said execution unit is a second bit length; a program counter storing an address of said one instruction fetched to said instruction register; and wherein data stored in an address which is indicated by adding the address stored in said program counter to the displacement value is provided to said execution unit when the execution unit performs an operation for immediate data having a bit length of greater than said first bit length; and
,wherein said instruction set has at least one conditional branch instruction and at least one unconditional branch instruction, each of said conditional and said unconditional branch instructions having an area comprising a displacement to designate a jumped address, a bit width of said displacement area of said conditional branch instruction being different than a bit width of said displacement area of said unconditional branch instruction. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A CPU capable of processing instructions in an instruction set and formed on a semiconductor chip, comprising:
-
said instructions having an instruction length of each of the instructions to be processed by said CPU in said instruction set being of a first bit length; an instruction register coupled to an instruction memory storing said instructions to be processed by said CPU in said instruction set, wherein a one instruction fetched in the instruction register has a displacement value; decode means being supplied with said one instruction fetched in said instruction register and decoding said one instruction supplied from said instruction register; an execution unit performing an operation of data, wherein a maximum data word length of said data to be processed by said execution unit is a second bit length; and a program counter storing an address of said instruction fetched to said instruction register, wherein data stored in an address which is indicated by adding the address stored in said program counter to the displacement value is provided to said execution unit when the execution unit performs an operation for immediate data having a bit length of greater than said first bit length, wherein said first bit length is 16 bits, said second bit length is 32 bits, and wherein said instruction set has at least one conditional branch instruction and at least one unconditional branch instruction, each of said conditional and said unconditional branch instructions having an area comprising a displacement designating a jumped address, a bit width of said displacement area of said conditional branch instruction being 8 bits and said displacement area of said unconditional branch instruction being 12 bits. - View Dependent Claims (7, 8, 9)
-
-
10. A CPU, capable of processing instructions in an instruction set comprising:
an instruction register fetching an instruction from an instruction memory storing said instructions to be processed by said CPU, wherein each instruction in said instruction set has an instruction length essentially consisting of 2n bits, where n represents a whole number; a program counter storing an address of an instruction to be fetched to said instruction register; and an execution unit performing an operation of data, each of which contains 2m bits, where m represents a whole number, wherein said instruction length is shorter than the maximum data word length of said data to be processed by said execution unit, and wherein said instruction set has at least one conditional branch instruction and at least one unconditional branch instruction, each of said conditional and said unconditional branch instructions having an area designating a displacement to a jumped address, a bit width of said displacement area of said conditional branch instruction being different from a bit width of said displacement area of said unconditional branch instruction. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
17. A CPU, capable of processing instructions in an instruction set comprising:
-
an instruction register fetching an instruction from an instruction memory storing said instructions to be processed by said CPU, each instruction in said instruction set having an instruction length of a first bit length; a program counter storing an address of an instruction to be fetched to said instruction register; and an execution unit performing an operation of data, wherein a load instruction in said instruction set has a displacement, wherein data stored in an address which is indicated by adding an address in said program counter to said displacement is provided to said execution unit when the execution unit performs the load instruction for immediate data having a bit length equal to or greater than said first bit length, wherein said first bit length is shorter than the maximum data word length of said data to be processed by said execution unit, and wherein said instruction set has at least one conditional branch instruction and at least one unconditional branch instruction, each of said conditional and said unconditional branch instructions having an area designating a displacement to a jumped address, a bit width of said displacement of said conditional branch instruction being different from a bit width of said displacement of said unconditional branch instruction. - View Dependent Claims (18, 19, 20, 21)
-
Specification