Software interrupt invokes system calls - Operating System
Programming Language (MCQ) questions
Q. What invokes the system calls? (Operating System)
- Published on 26 Aug 15
A privileged instruction
An indirect jump
A software interrupt
ANSWER: A software interrupt
C programming (
Software Engineering (
Web Technologies (
Data Structure (
Operating System (
-Posted on 23 Nov 15
- When an application software terminates or when it requests the operating system for some service it is known as a software interrupt.
- This is same as a hardware interrupt, which occurs at the hardware level.
- This interrupt only communicates with the kernel and indirectly interrupts the central processing unit.
- They are associated with an interrupt handler, which is actually just a routine that is activated when an interrupt happens.
- Only one bit of information is communicated during a software interrupt.
- It is also used to perform an input/output request.
- This request, in turn, calls kernel routines that actually perform the service.
- It often emulates most of the features of a hardware interrupt.
- Like a hardware interrupt, it calls only a specific interrupt vector and saves the accumulators and registers.
- It can also make use of some of the hardware interrupt routines.
- Similar in functionality to a subroutine call, it is used for different purposes in a device.
Post your comment / Share knowledge
Enter the code shown above:
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)