Question

In: Computer Science

A) What happens when a software Interrupt occurs? Write steps briefly?                              &nbsp

A) What happens when a software Interrupt occurs? Write steps briefly?                                                   

B)  Differentiate between maskable and non-maskable interrupts?

C) How are the multiplexed bus of 8086 demultiplexed?

D) Find the address range when a 2K x 8 memory is interfaced with 8086/8088?

Solutions

Expert Solution

A) When an interrupt occurs, it causes the CPU to stop executing the current program. The control then passes to a special piece of code called an Interrupt Handler or Interrupt Service Routine. The interrupt handler will process the interrupt and resume the interrupted program

The initial program is resumed by the CPU by means of a context switch.

A context switch is the process of storing and restoring state (the context) of a CPU, so that execution can be resumed from the same point at a later time. When an interrupt is generated, the processor saves its execution state via a context switch, and begins executing the interrupt handler at the interrupt vector.

B)1. Maskable Interrupt :
An Interrupt that can be disabled or ignored by the instructions of CPU are called as Maskable Interrupt.The interrupts are either edge-triggered or level-triggered or level-triggered.

eg:-

RST6.5,RST7.5,RST5.5 of 8085 

2. Non-Maskable Interrupt :
An interrupt that cannot be disabled or ignored by the instructions of CPU are called as Non-Maskable Interrupt.A Non-maskable interrupt is often used when response time is critical or when an interrupt should never be disable during normal system operation. Such uses include reporting non-recoverable hardware errors, system debugging and profiling and handling of species cases like system resets.

eg:
Trap of 8085 

C)Step by step answer :-

  • Demultiplexing is to separate 2 or more channels that have been multiplexed. Signals are typically multiplexed or combined onto one higher speed channel to efficiently use the bandwidth.
  • The 8086 can address 1,114,080 bytes. That does not count I/O space, it only counts memory space.
  • there are five addressing modes in 8086 they are : 1->direct addressing 2->Indirect addressing 3->index addressing 4->immediate addressing 5->register addressing.
  • The 8086 takes two cycles to fetch words from an odd address because the Bus Interface Unit (BIU) actually only deals with words, which are two bytes at an even address.. If you perform an operation on a byte, the BIU will do a word operation, but it will leave the other byte alone.

D)

Memory Address Decoding

  • To determine the address range that a device is mapped into:

This 2KB memory segment maps into the reset location of the 8086/8088 (FFFF0H).


Related Solutions

A) What happens when a software Interrupt occurs? Write steps briefly?    B) Differentiate between maskable...
A) What happens when a software Interrupt occurs? Write steps briefly?    B) Differentiate between maskable and non-maskable interrupts? C) How are the multiplexed bus of 8086 demultiplexed? D) Find the address range when a 2K x 8 memory is interfaced with 8086/8088?
When is an external interrupt recognized by the CPU?  When more than one interrupt occurs, what approaches...
When is an external interrupt recognized by the CPU?  When more than one interrupt occurs, what approaches would you use to service them? What approaches should be taken when an interrupt occurs within an interrupt service routine Consider a hypothetical microprocessor having 64-bit instructions composed of two fields: the first 16-bits contains the op-code and the remainder the immediate operand or an operand address.  Assume memory is organized in 32-bit words, i.e. one r/w access can yield a maximum of 32 bits.  ...
How does an interrupt differ from a subroutine? When an interrupt occurs, where does program control...
How does an interrupt differ from a subroutine? When an interrupt occurs, where does program control branch to?
Explain the biochemical steps of what happens when someone falls into a swimming pool and is...
Explain the biochemical steps of what happens when someone falls into a swimming pool and is submerged for a period of 2 minutes. Why do we sometimes administer Sodium Bicarbonate to patients during the resuscitation of cardiac arrest?
What is the corpus leteum? What happens to it if fertilization occurs?
What is the corpus leteum? What happens to it if fertilization occurs? And what happens If fertilization does not occur?
briefly describe what occurs in the sarcomere when calcium is absent and not freely available in...
briefly describe what occurs in the sarcomere when calcium is absent and not freely available in the cytoplasm of the muscle cell. Your answer should include a statment showing your understanding of the role of calcium in muscle contraction
What is an exception? What is an interrupt? What is a non-maskable interrupt and why is...
What is an exception? What is an interrupt? What is a non-maskable interrupt and why is it used?
Briefly state what happens to a mixture of compounds with different chemical properties, when this mixture...
Briefly state what happens to a mixture of compounds with different chemical properties, when this mixture is subjected to thin-layer chromatography.
What is an exception? What is an interrupt? What is a non-maskable interrupt and why is it used?
What is an exception? What is an interrupt? What is a non-maskable interrupt and why is it used?
1) Briefly explain what happens in the cellular respiration and what it function is 2) Briefly...
1) Briefly explain what happens in the cellular respiration and what it function is 2) Briefly explain what happens in glycolysis and where it occurs ? 3) Describe what happens in the following processes and where they occur a)glycogenesis b)glycogenolysis c)gluconeogenesis
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT