Claims
- 1. An interrupt control apparatus for a microprocessor, comprising:
- interrupt control means for selecting an interrupt requirement having a highest priority from a plurality of interrupt requirements and outputting priority signals indicative of said highest priority;
- means for comparing said highest priority of said interrupt requirement selected by said interrupt control means with mask information indicating a priority as to whether said interrupt requirement is executed or not;
- means for detecting whether or not said priority signals of said interrupt requirement are outputted form said control means;
- means for judging whether said interrupt requirement selected by said control means is executed or not based on a comparison of said highest priority of said selected interrupt requirement with said priority of said mask information;
- an interrupt priority register for receiving said interrupt priority signals selected by and supplied from said interrupt control means, and inputting and storing said interrupt priority signals in synchronization with a clock signal; and
- means for updating said priority signals stored in said register after judging that said interrupt requirement is not executed.
- 2. An interrupt control apparatus as claimed in claim 1, wherein said apparatus further comprises:
- a control register for storing said mask information indicating said interrupt priority for judging whether said interrupt requirement is executed or not by said microprocessor.
- 3. An interrupt control apparatus as claimed in claim 2, wherein:
- said comparing means compares said mask information from said control register with said interrupt priority signal from said interrupt priority register.
- 4. An interrupt control apparatus as claimed in claim 3, wherein:
- said judging means comprises an interrupt signal generating circuit for outputting an interrupt generating signal when said interrupt requirement is executed, and an interrupt under-priority signal when said interrupt requirement is not executed, in accordance with a compared result of said comparing means and a detected result of said detecting means.
- 5. An interrupt control apparatus for a microprocessor, comprising:
- interrupt control means for selecting an interrupt requirement having a highest priority from a plurality of interrupt requirements and outputting signals indicative of said highest priority;
- means for comparing said highest priority of said interrupt requirement selected by said interrupt control means with mask information indicating a priority as to whether said interrupt requirement is executed or not;
- means for detecting whether or not said highest priority of said interrupt requirement is outputted from said control means; and
- judging means for stopping an output of said control means when said highest priority of said selected interrupt requirement is lower than said priority of said mask information, said judging means making said control means further select an interrupt requirement having a highest priority from said plurality of interrupt requirements and output signals indicative of said output of said control means, said judging means instructing execution of said selected interrupt requirement when said priority of said selected interrupt requirement is higher than or equal to said priority of said mask information.
- 6. An interrupt control apparatus as claimed in claim 5, wherein said apparatus further comprises:
- an interrupt priority register for receiving an interrupt priority signal supplied from said interrupt control means, and inputting and storing said interrupt priority signal in synchronization with a clock signal.
- 7. An interrupt control apparatus as claimed in claim 6, wherein said apparatus further comprises:
- a control register for storing said mask information indicating said interrupt priority for judging whether said interrupt requirement is executed or not by said microprocessor.
- 8. An interrupt control apparatus as claimed in claim 7, wherein:
- said comparing means compares said mask information supplied from said control register with said interrupt priority signal supplied from said interrupt priority register.
- 9. An interrupt control apparatus as claimed in claim 8, wherein:
- said judging means comprises an interrupt signal generating circuit for outputting an interrupt generating signal when said interrupt requirement is executed, and an interrupt under-priority signal when said interrupt requirement is not executed, in accordance with a compared result of said comparing means and a detected result of said interrupt detecting means.
- 10. An interrupt control apparatus for a microprocessor, comprising:
- an interrupt control circuit for receiving a plurality of interrupt requirement signals and selecting an interrupt requirement signal having a highest priority from said interrupt requirement signals, and supplying said interrupt requirement signal having said highest priority to said microprocessor;
- an interrupt priority register for receiving said interrupt priority signal supplied from said interrupt control circuit, and inputting and storing said interrupt priority signal in synchronization with a clock signal;
- a control register for storing mask information indicating an interrupt priority for judging whether said the interrupt requirement is executed or not by said microprocessor;
- a comparator for comparing said mask information from said control register and said interrupt priority signal from said interrupt priority register;
- an interrupt detecting circuit for detecting whether or not said interrupt priority signal is outputted from said interrupt control circuit to said interrupt priority register; and
- an interrupt signal generating circuit for outputting an interrupt generating signal when said interrupt requirement is executed, and an interrupt under-priority signal when said interrupt requirement is not executed, in accordance with a compared result of said comparator and a detected result of said interrupt detecting circuit.
- 11. An interrupt control system for providing interrupt operation for a microprocessor, said system comprising:
- a priority signal generator for outputting an interrupt priority signal indicating a highest priority of a plurality of interrupt request signals input to said generator;
- an interrupt priority signal register connected to said priority signal generator for holding said interrupt priority signal;
- a control register for holding information of a reference priority corresponding to an operational condition of said microprocessor as a criterion for actually providing an interrupt in accordance with said interrupt priority signal;
- a comparison circuit for comparing said highest priority to said reference priority;
- an interrupt signal generator coupled with said comparison circuit and outputting an interrupt signal to said microprocessor to actually provide said interrupt operation, wherein
- said interrupt signal generator defers outputting said interrupt signal and instead transmits to said interrupt priority generator, when said highest priority is lower than said reference priority, an interrupt under-priority signal indicating that an interrupt request cannot be accepted, and wherein, when said interrupt under-priority signal is transmitted, said interrupt priority signal register is updated with said interrupt priority signal indicating said highest priority of said plurality of interrupt signals input to said generator.
Priority Claims (1)
Number |
Date |
Country |
Kind |
62-70481 |
Mar 1987 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 07/169,988, filed Mar. 18, 1988, now abandoned.
US Referenced Citations (10)
Non-Patent Literature Citations (1)
Entry |
MC68020 32-Bit Microprocessor User's Manual, Motorola Inc., 1984, pp. 5-26-5-31. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
169988 |
Mar 1988 |
|