ALERT

[WEBINAR] Building a Business-Driven Data Architecture

CPU Interrupt Code (CIC)

Definition - What does CPU Interrupt Code (CIC) mean?

A CPU interrupt code (CPU) is a code sent by software or hardware to a CPU to suspend the execution of all processes until the process requested in the interrupt is complete.

Interrupts allow software or hardware to take precedence over existing program execution, usually in order to perform critical actions such as protocol acknowledgment or a timing signal. They can be edge-triggered or level-triggered.

Techopedia explains CPU Interrupt Code (CIC)

The interrupt codes in newer computer systems are retained in the same class in an interrupt stack or interrupt queue. The interrupt signals alert the processor to the existence of one or more interrupts of a particular class. Interrupt codes are sampled by the processor with the help of stack and queue arrangements. Every time an interrupt is made, the new instructions accompanying that interrupt are added to the top of the program execution stack. When the stack or queue becomes empty, the interrupt signal drops. As the new interrupt codes get generated, they simply get added to the stack or queue automatically.

In older computer systems, the interrupt signals of Class I, II and III identifying code are received and processed by the processor at the same time. The interrupts of the same class tend to get locked up by the interrupt processor.

CPUs follow a specific sequence of events while processing an interrupt in which interrupt processing is prioritized over normal program execution. The first-level interrupt handling code is written very carefully. After the interrupt has been handled, the CPU’s execution state is restored and the interrupt is dismissed. The CPU then continues the suspended program execution.

Interrupt processing must be handled as efficiently as possible. It is recommended that the operating system be kept free of interrupts as these can substantially slow down the overall system's operating speed.

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.