answersLogoWhite

0


Best Answer

Hardware Interrupt: Each CPU has External Interrupt lines(about 7). Other external devices line keyboard, Mouse, Other controllers can send signals to CPU asynchronously. Software Interrupt:is an interrupt generated with in a processor by executing an instruction . Software interrupt are often used to implemented system calls because they implemented a subroutine call with a CPU ring level change.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

I'm not too sure what exactly you are referring to.

But a hardware interrupt is probably an error with something physical for example, a broken harddrive or faulty motherboard.

and a software interrupt would be a problem with a program or game on a computer.

hope this answered your questions :)

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

A hardware interrupt on an 8085 is generated by something in hardware, such as a pulse on RST 6.5. This generates a CALL with FLAGS sequence that interrupts the instruction stream to go process the interrupt. A software interrupt has the same result, but the initiating event is the RST instruction in the program.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

'Software interrupts' are actually supervisor-calls (eg: open a file, allocate memory) or traps (eg: page fault, division by zero).

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

hardware interrupt is when software makes hardware input to be on standby,software interrupt is when programme is running and making other command to wait for sometime

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between software interrupt and hardware inerrupt?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between software and hardware interrupt?

The difference is that a hardware interrupt is a signal relayed to a system's CPU directly because of some piece of hardware, such as a keyboard or mouse. A software interrupt is a signal sent to indicate that something within a piece of software requires attention.


What are hardware and software interrupts in microprocessors?

(Q)What are Hardware and software interrupt? draw the block daigram of 8259 interrupt controller and explain in brief..


What is an 8085 interrupt?

There are 2 types interrupts in 8085 such as: 1)hardware interrupt 2)software interrupt


Difference between harware interrupt and internal interrupt?

A hardware interrupt is initiated from a hardware event, such as a byte received from a serial port. It is asynchronous to the running program, i.e. it can occur at any time. An internal, or software, interrupt is initiated by the running program, thus it is under the control of the running program. In the 8085, for instance, the RST instructions are software interrupts. Note, however, that external interrupts can initiate a software RST instruction, so the two events can appear to be the same kind of event. The biggest difference is the handling of the interrupt enable (IE) flag. In the hardware interrupt, the IE flag is turned off when processing the interrupt, and it is turned on right before the interrupt service routine executes the final return instruction. The software interrupt, on the other hand, has nothing to do with IE. As a result, the code must be able to tell the difference.


What are interrupts initiated by instructions called?

Those would be software interrupts. Interrupts initiated by the hardware would be hardware interrupts. While the socket a mouse is plugged into would use a hardware interrupt, a mouse driver would use a software interrupt.


Which type of interrupt can not be masked by software?

The TRAP interrupt can not be masked by software, unless there is hardware in place to allow that, perhaps by anding an output bit with the TRAP request line.


HOW IS SOFTWARE INTERRUPT INITIATED?

Interrupt signals initiated by programs are called software interrupts. A software interrupt is also called a trap or anexception. A signal informing a program that an event has occurred. When a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal). Interrupt signals can cause a program to suspend itself temporarily to service the interrupt. Interrupt signals can come from a variety of sources. For example, every keystroke generates an interrupt signal. Interrupts can also be generated by other devices, such as a printer , to indicate that some event has occurred. PCs support 256 types of software interrupts and 15 hardware interrupts. Each type of software interrupt is associated with an interrupt handler -- a routine that takes control when the interrupt occurs. For example, when you press a key on your keyboard, this triggers a specific interrupt handler. The complete list of interrupts and associated interrupt handlers is stored in a table called the interrupt vector table , which resides in the first 1 K of addressable memory.


What is the 8086 interrupt to play music?

An interrupt is a mechanism for hardware of software to interrupt the processor to go do something else. Playing music is a much higher level abstraction, and it is not valid to ask what is the interrupt to play music, partly because it depends on the specific hardware implementation.


What peripheral has the highest interrupt?

The peripheral with the highest interrupt priority depends on the hardware and software design of the particular system. In the 8085, the TRAP interrupt has the highest priority. The peripheral connected to TRAP is your choice.


What is interrupt acknowledge?

Interrupt acknowledge is the process of acknowledging a hardware interrupt, obtaining an interrupt vector address, and initiating the interrupt service routine in software. The INTA- (Interrupt Acknowledge) pin has the same timing as RD-, and external hardware is expected to provide an opcode in response to it. In the case of TRAP, RST7.5, RST6.5, and RST5.5, there is no specific interrupt acknowledge cycle like there is for INTR, but everything else is the same.


What is the two interrupt?

The first is the real interrupt, when the external hardware interrupts the processors' work;the second is the exception, like page fault or division by zero;the third is the supervisor call (SVC) which is sometimes called interrupt (or 'software interrupt') as well.


Why are interrupt required?

Interrupts are required in order to get the attention of the CPU. A CPU typically has two interrupt lines. One is the nonmaskable interrupt line (NMI). That is used in the case of critical errors, since this interrupt cannot be ignored. The other one is the regular interrupt line. That is used by hardware devices and certain software to get the attention of the CPU. When you move a mouse, for instance, that creates both a hardware and software interrupt. So the CPU would then process the mouse driver code and move the cursor, then get back to what it was doing.