Microcomputer
AssigneeNEC Corporation
InventorsHideki Sakamoto, Toshinori Tamura
Life of this patent
Estimating the term…
Abstract
An instruction executing unit reads the address of a bug and a corrected program from an external memory through an interface, and stores the bug address and the corrected program in a register and a RAM, respectively. When the execution address of a program reaches the bug address, data of a program counter agree with the data in the register, whereupon a comparator outputs a selection signal to cause a selector to select a branch instruction generator, which supplies a branch instruction to the instruction executing unit. The instruction executing unit executes the branch instruction, thereby causing branching off to the corrected program stored in the RAM and execution of the corrected program.
Claims12
A microcomputer comprising:
- instruction executing means for decoding and executing instructions;
- a program memory for storing a program;
- a program counter for successively indicating addresses in said program memory and making said program memory output stored contents;
- interface means for obtaining data from an external source;
- memory means for storing particular address information obtained from the external source through said interface means;
- comparing means for comparing contents of said memory means with contents of said program counter, and outputting a selection signal when the compared contents agree with each other;
- branch instruction generating means for generating a branch instruction which can be executed by said instruction executing means to change the execution address of the program stored in said program memory;
- and
- selecting means for selecting and supplying said branch instruction to said instruction executing means when said selection signal is true, and selecting and supplying contents of said program memory to said instruction executing means when said selection signal is false;
- said instruction executing means comprising means operable according to the program stored in said program memory for obtaining said particular address information from the external source through said interface means, storing said particular address information in said memory means, and executing said branch instruction to execute a program, which starts from an address different from said particular address information and which is stored in said program memory, when said selection signal is true.
A microcomputer comprising:
- instruction executing means for decoding and executing instructions;
- a program memory for storing a program;
- a program counter for successively indicating addresses in said program memory and making said program memory output stored contents;
- interface means for obtaining data from an external source;
- a plurality of memory means for storing a plurality of items of particular address information obtained from the external source through said interface means;
- one or a plurality of comparing means for comparing contents of said memory means with contents of said program counter, and outputting one or a plurality of detected address signals when the compared contents agree with each other;
- one or a plurality of branch instruction generating means for generating one or a plurality of branch instructions which can be executed by said instruction executing means to change the execution address of the program stored in said program memory;
- logic means responsive to said one or plurality of detected address signals for outputting one or a plurality of selection signals;
- and
- selecting means for selecting and supplying any of said branch instructions to said instruction executing means when any of said detected address signal is true, and selecting and supplying contents of said program memory to said instruction executing means when all said detected address signals are false;
- said instruction executing means comprising means operable according to the program stored in said program memory for obtaining said particular address information from the external source through said interface means, storing said particular address information in said memory means, and executing said branch instruction to execute a program, which starts from an address different from said particular address information and which is stored in said program memory, when said detected address signal is true.
A microcomputer comprising:
- instruction executing means for decoding and executing instructions;
- a program memory for storing a program;
- a program counter for successively indicating addresses in said program memory and making said program memory output stored contents;
- interface means for obtaining data from an external source;
- memory means for storing particular address information obtained from the external source through said interface means;
- comparing means for comparing contents of said memory means with contents of said program counter, and outputting a selection signal when the compared contents agree with each other;
- branch instruction generating means for generating a branch instruction which can be executed by said instruction executing means to change the execution address of the program stored in said program memory;
- and
- selecting means for selecting and supplying said branch instruction to said instruction executing means when said selection signal is true, and selecting and supplying contents of said program memory to said instruction executing means when said selection signal is false;
- said program memory comprising, in part or whole, a random-access memory;
- said branch instruction comprising a branch instruction to branch off to a predetermined address in the random-access memory of said program memory;
- said instruction executing means comprising means operable according to the program stored in said program memory for obtaining said particular address information from the external source through said interface means, storing said particular address information in said memory means, obtaining a particular program from the external source through said interface means, storing said particular program in an area starting with said predetermined address in said program memory, and executing said branch instruction to execute said particular program, which starts from said predetermined address and which is stored in said program memory, when said selection signal is true.
A microcomputer comprising:
- instruction executing means for decoding and executing instructions;
- a program memory for storing a program;
- a program counter for successively indicating addresses in said program memory and making said program memory output stored contents;
- interface means for obtaining data from an external source;
- a plurality of memory means for storing a plurality of items of particular address information obtained from the external source through said interface means;
- one or a plurality of comparing means for comparing contents of said memory means with contents of said program counter, and outputting one or a plurality of detected address signals when the compared contents agree with each other;
- one or a plurality of branch instruction generating means for generating one or a plurality of branch instructions, which can be executed by said instruction executing means, to change the execution address of the program stored in said program memory;
- logic means responsive to said one or plurality of detected address signals for outputting one or a plurality of selection signals;
- and
- selecting means for selecting and supplying any of said branch instructions to said instruction executing means when any of said detected address signal is true, and selecting and supplying contents of said program memory to said instruction executing means when all said detected address signals are false;
- said program memory comprising, in part or whole, a random-access memory;
- said branch instruction comprising a branch instruction to branch off to a predetermined address in the random-access memory of said program memory;
- said instruction executing means comprising means operable according to the program stored in said program memory for obtaining said particular address information from the external source through said interface means, storing said particular address information in said memory means, obtaining a particular program from the external source through said interface means, storing said particular program in an area starting with said predetermined address in said program memory, and executing said branch instruction to execute said particular program, which starts from said predetermined address and which is stored in said program memory, when said detected address signal is true.
Dependencies are inferred from the claim text.