What is claimed is:
1. A data processor operating in accordance with a program,
said data processor having a step repeat function working in response to a step repeat instruction which is written in said program and can designate first to N-th (N2) instructions and an execution instruction number M (M1), for repeating said first to N-th instructions K (the quotient of MN) times and then execute first to L-th (the remainder of MN) instructions,
said data processor comprising, for said step repeat function:
an execution instruction number judgment portion for counting up the number of instruction execution count every time when any one of said first to N-th instructions is executed, to output an instruction execution number judgment result indicating whether an achievement state where said instruction execution count reaches said execution instruction number M or an unachievement state where does not reach;
an instruction fetch portion for repeatedly fetching said first to N-th instructions in the order of first, second, . . . N-th, first, second, . . . when said step repeat instruction is executed; and
an instruction execution control portion sequentially receiving instructions fetched in said instruction fetch portion, for sequentially executing said instructions received from said instruction fetch portion when said instruction execution number judgment result indicates said unachievement state and for negating said instructions received from said instruction fetch portion when said instruction execution number judgment result indicates said achievement state, in execution of said step repeat instruction.
2. The data processor according to claim 1 further comprising, for said step repeat function:
an information storing portion for storing step repeat instruction execution information indicating whether an executing state where said step repeat instruction is being executed or an unexecuting state where is not being executed, said step repeat instruction execution information being set to said executing state when execution of said step repeat instruction begins,
wherein said instruction fetch portion repeatedly fetches said first to N-th instructions (K1) times when L is not 0, and sets said step repeat instruction execution information to said unexecuting state when said N-th instruction which is (K1)th fetched is given to said instruction execution control portion,
said execution instruction number judgment portion sets the indication of said execution instruction number judgment result to said achievement state during (K1)th execution of said L-th instruction, and
said instruction execution control portion sequentially negates (L1)th instruction to said N-th instruction which are (K1)th executed working in response to said execution instruction judgment result indicating said achievement state.
3. The data processor according to claim 1 further comprising, for said step repeat function:
an information storing portion for storing step repeat instruction execution information indicating whether an executing state where said step repeat instruction is being executed or an unexecuting state where is not being executed, said step repeat instruction execution information being set to said executing state when execution of said step repeat instruction begins; and
a timing control portion receiving said execution number judgment result, for generating a control signal indicating fetch of an instruction to be executed after execution of said step repeat instruction with a change of the indication of said execution number judgment result from said unachievement state to said achievement state as a trigger and setting said step repeat instruction execution information to said unexecuting state.
4. The data processor according to claim 1 further comprising:
a block repeat function working in response to a block repeat instruction which can designate an instruction stream consisting of a plurality of instructions and a repeat execution number, for executing said instruction stream repeatedly said repeat execution number of times, independent of said step repeat function.
5. The data processor according to claim 1 further comprising:
a conditional execution function working in response to an execution condition designating instruction defining a predetermined instruction and an execution condition of said predetermined instruction, for executingsuppressing said predetermined instruction by condition judgment, wherein
said data processor further comprising, for said conditional execution function:
a condition information storing portion for storing condition information; and
an execution condition judgment portion working in response to said execution condition designating instruction, for outputting an execution suppressing signal controlling whether said predetermined instruction is executed or suppressed on the basis of whether said condition information satisfies said execution condition or not,
wherein said conditional execution function shares said instruction fetch portion and said instruction execution control portion with said step repeat function,
said instruction fetch portion fetches said predetermined instruction in parallel to a judgment operation of said execution condition designating instruction by said execution condition judgment portion, and
said instruction execution control portion negates said predetermined instruction given by said instruction fetch portion when said execution suppressing signal indicates suppressing.
6. The data processor according to claim 5, wherein
said step repeat function shares said condition information storing portion with said condition execution function, and
said condition information storing portion further stores step repeat instruction execution information indicating whether an executing state where said step repeat instruction is being executed or an unexecuting state where is not being executed.
7. The data processor according to claim 1 wherein
said first to N-th instructions are sequentially written in said program subsequent to said step repeat instruction, and
said step repeat instruction further has address information of said N-th instruction.
8. The data processor according to claim 7, wherein
said step repeat instruction has information specifying a register which stores said execution instruction number.
9. The data processor according to claim 7, wherein
said step repeat instruction has information specifying said execution instruction number.
10. The data processor according to claim 1, wherein
said execution instruction number judgment portion comprises:
a number storing portion for storing remaining execution number, said execution instruction number being set to said remaining execution number when execution of said step repeat instruction begins;
a counting portion for subtracting 1 from said remaining execution number when said remaining execution number is not 0 after each execution of said first to N-th instructions, to store a new remaining execution number to said remaining execution number storing portion; and
a zero judgment portion for outputting said execution instruction number judgment result on the basis of whether said remaining execution number is 0 or not.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. Apparatus comprising a combination of:
a mailbox having an exterior surface with a flag movably attached;
a noxious liquid comprising at least a malodorant disposed within a composite capsule comprising a sealed inner glass tube having an inner surface wetted by the noxious liquid; the inner glass tube disposed within a sealed outer tube; and
a fastener attaching the composite capsule to the exterior surface of the mailbox.
2. The apparatus of claim 1 wherein the outer tube comprises means to substantially reduce an amount of light reaching the noxious liquid.
3. The apparatus of claim 1 wherein the noxious liquid further comprises at least one of a colorant, an irritant and an adhesive.
4. The apparatus of claim 1 wherein the noxious liquid has a freezing temperature lower than the freezing temperature of water.
5. A method of deterring a vandal who uses a bat to strike a traffic-facing surface of a first mailbox disposed adjacent a roadway from using the bat to strike a second mailbox, the first mailbox having a flag movably attached thereto the method comprising the steps of:
providing a noxious liquid disposed within a sealed, elongated glass tube; and
attaching the glass tube to the traffic-facing surface of the first mailbox before the vandal strikes the first mailbox so that when the vandal strikes the first mailbox with the bat, the glass tube fractures and coats the bat with the noxious liquid;
whereby the vandal is deterred from striking the second mailbox.
6. The method of claim 5 wherein the noxious liquid comprises at least one of: a malodorant; an irritant; a colorant; and an adhesive.
7. The method of claim 5 wherein the glass tube is provided within a sealed plastic tube and is removed therefrom prior to the attaching step.
8. The method of claim 5 wherein the glass tube is permanently disposed within an outer sealed plastic tube, and wherein the step of attaching the glass tube to the first mailbox comprises directly attaching the outer plastic tube to the first mailbox.