Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7993035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:44:09+00:00 2026-06-04T13:44:09+00:00

When you disable interrupts (with the cli instruction in x86), what exactly happens? Does

  • 0

When you disable interrupts (with the cli instruction in x86), what exactly happens?

  • Does the PIC wait for you to turn on interrupts, and fire the interrupt when that happens? (If so, how long does it wait, and what happens if the time ‘expires’?)

  • Does the interrupt — from the device’s perspective — get sent into a “black hole”, with no response?

  • Does the PIC somehow tell the device that “the CPU is busy” or something?

  • Or does something else happen?

Also, how do you deal with an interrupt you don’t know how to handle?
Is there some way to tell the PIC (or the device, if you don’t know what the device is), “yes, I got your message, but I don’t know what to do with it”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T13:44:11+00:00Added an answer on June 4, 2026 at 1:44 pm

    The 8259a PIC waits for the INTA signal from the CPU. The CPU sends it when starts handling the interrupt by transferring the control to the appropriate ISR. Which ISR? The PIC gives the interrupt vector to the CPU, which looks up the IVT/IDT for the address and you know the rest. The PIC won’t supply the interrupt vector until it receives INTA.

    The 8259a PIC has only one-way communication with I/O devices. They can tell it that they have an interrupt that needs servicing.

    So, everything’s up in the air in the PIC if the CPU does not respond to interrupts. However, devices may at their whim de-assert and then re-assert interrupt request signals. I don’t know which do. I also don’t know which have any time requirements for interrupt servicing.

    If you’re not interested in interrupts from a specific source, you can just mask it and you won’t get any. If you take an interrupt but don’t know how to process it, you can just tell the PIC you’ve handled it. This may leave the interrupted device in a “frozen” state, waiting indefinitely for servicing to happen. It may also cause the device to keep its interrupt request signal high, which will be a problem if you’re taking interrupts in level-triggered mode — you’ll be continuously getting interrupts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What happens if you disable an interrupt inside that interrupt's ISR? For example, if
When entering an inteerupt handler, we first disable interrupts on that cpu(using something like
How to disable creating an '.idea' folder in Rubymine? It creates that folder after
On Linux, is it possible to somehow disable signaling for programs externally ... that
I'm writing a small bootloader for an x86 based PC. The problem is that
Do I have to disable high interrupts while inside one, if I am using
I am looking to disable the Command + Click combination on a toolbar button
We need to conditionally disable GZIP compression if user's browser is IE6 (it hangs
I am trying to disable log rotation, for file handler using, FileHandler fh =
I need to disable access to a SharePoint application between 6 PM and 7

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.