Microcomputer with detection of predetermined data for enabling execution of instructions for stopping supply of clock
AssigneesMitsubishi Denki Kabushiki Kaisha, Mitsubishi Electric Semiconductor Software Co., Ltd.
InventorHiroyuki Hashimoto
Life of this patent
Estimating the term…
Abstract
A microcomputer comprising an exclusive register 61, an STP/WIT instruction valid/invalid control circuit 60 which detects that data are written consecutively in the register 61 and that values of the data are in a predetermined combination, and AND gates 11 and 12 which permit execution of the STP instruction and the WIT instruction for stopping clock .phi. only when the predetermined signal is outputted from the STP/WIT instruction valid/invalid control circuit 60, and capable of avoiding the instruction for stopping the internal clock being executed by mistake.
Claims5
A microcomputer having a first instruction execution circuit which executes a first instruction for stopping the input of a clock from the outside being a reference of the operation, and a second instruction execution circuit which executes a second instruction for stopping the supply of said clock inputted from the outside to the inside, comprising:
- a register;
- a control circuit which outputs a predetermined signal when it is detected that data are written consecutively into said register and that the values of each data are in a predetermined combination;
- means for permitting said first instruction execution circuit to execute said first instruction only when said predetermined signal is being outputted from said control circuit;
- and
- means for permitting said second instruction execution circuit to execute said second instruction only when said predetermined signal is being outputted from said control circuit.
A microcomputer having a first instruction execution circuit which executes a first instruction for stopping the input of a clock from the outside being a reference of the operation, and a second instruction execution circuit which executes a second instruction for stopping the supply of said clock inputted from the outside, comprising:
- storing means for storing a fact that a third instruction has been executed;
- judging means for judging whether an instruction which has been directed following said third instruction is said first instruction or said second instruction or not, and for deleting the content stored in said storing means when the judging result is negative;
- means for permitting said first instruction execution circuit to execute said first instruction only when said storing means stores the fact that said third instruction was executed;
- and
- means for permitting said second instruction execution circuit to execute said second instruction only when said storing means stores the fact that said third instruction was executed.
Dependencies are inferred from the claim text.