Thread: Interrupt Service Routine (ISR)

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    208

    Question Interrupt Service Routine (ISR)

    Hi there!

    Nice to be on here again Stuck doing my uni stuff at the moment and it's boring to be honest. Can't wait to get back to C++ stuff.

    Interesting here and there though I guess. Anyways.. I came across this. Now the course describes an ISR as occurring whenever there is for example some Input/Output stuff going on. Rather than sit there and wait for a device to finish giving input, or finish receiving output, the processor will do a context switch and run another process.

    Ok.. but that means surely for a one core system that the processor is not involved in dealing with the ISR. But something's certainly active and handling data, but not the processor.

    So what is that thing? It must be some sort of hardware on the motherboard dealing with it, but I don't know what it is?

    Hope that makes sense.

    Thanks

  2. #2
    Registered User
    Join Date
    Dec 2017
    Posts
    1,644
    An ISR is a running program (hence "routine"). So a core (perhaps the only core) will be running it.
    Interrupt handler - Wikipedia

    There is something called DMA where a subsystem of the computer other than the CPU can move data in or out of memory so that the CPU doesn't need to wait (unless it is waiting on that data).
    Direct memory access - Wikipedia
    A little inaccuracy saves tons of explanation. - H.H. Munro

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    208
    I'll check out those links John thanks very much

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Is this an example of a co-routine?
    By c_weed in forum Tech Board
    Replies: 1
    Last Post: 06-20-2012, 11:36 AM
  2. Interrupt Service Routine for microcontroller
    By Albinoswordfish in forum C Programming
    Replies: 5
    Last Post: 04-18-2009, 05:45 AM
  3. Help with my XOR routine..
    By Neo1 in forum C++ Programming
    Replies: 9
    Last Post: 10-04-2007, 03:30 PM
  4. Replies: 1
    Last Post: 06-03-2005, 01:03 AM
  5. rounder routine
    By ustuzou in forum C++ Programming
    Replies: 3
    Last Post: 03-17-2002, 08:41 AM

Tags for this Thread