What is meant by an exception on a microcomputer

Assignment Help Computer Engineering
Reference no: EM13809266

1. What is meant by an "exception" on a microcomputer/microcontroller, and what are the two kinds of exceptions?

2. (a) List and briefly describe the 4 kinds of events that can cause the MC9S12DP256B microcontroller to be reset?

(b) When a reset is initiated, how does the microcontroller respond?

3. What is the primary difference in the way the microcontroller responds to a reset and the way it responds to an interrupt?

4. (a) What flag in the Condition Code Register (CCR) affects the maskable interrupts?

(b) How that this flag be controlled by C code?

5. If an interrupt request is applied to the IRQ pin on the microcontroller, what two conditions must be present in order for an interrupt to be granted?

(b) Below is a list of steps that the 256B microcontroller performs when the an interrupt request on the IRQ pin is accepted. Put numbers to the left side of these steps to show the order in which they are performed:

• Calculate return address and save on stack, along with values in key registers.

• Start executing instructions in interrupt service routine

• Finish current instruction

• Set "I" bit in Condition Code Register (CRC) to 1, to disable other maskable interrupt requests.

• Set "X" bit in Condition Code Register (CRC) to 1, to temporarily disable XIRQ non-maskable interrupt requests.

• Obtain starting address of interrupt service routine from interrupt vector table.

• Clear instruction queue

(c) From what address(es) in the interrupt vector table does the microcontroller obtain the starting address of the service routine for interrupt requests applied to the IRQ pin?

(d) From what address(es) in the interrupt vector table does the microcontroller obtain the starting address of the service routine for interrupt requests applied to the XIRQ pin?

Reference no: EM13809266

Questions Cloud

Practices of global operations management : The objective of this discussion is to aid you in mastering the following course competencies: Apply theories, models, and practices of global operations management to address business problems.
Solutions to strategic-global operations management : The objective of this discussion is to aid you in mastering the following course competency: Develop innovative and sustainable solutions to strategic and global operations management challenges.
Describe federal system of the judiciary branch : Our federal system of the Judiciary Branch can consider a case for years through the initial presentation and the appeals process. Do you believe that this process is stacked in favor of the defendants. Consider the possibility of convicting innoc..
Different insights into the nature of organisational culture : different insights into the nature of organisational culture
What is meant by an exception on a microcomputer : What is meant by an "exception" on a microcomputer/microcontroller, and what are the two kinds of exceptions
Major strategic issues that the industry faces : What is (are) the major strategic issues that the industry faces? What strategic options or alternatives does it have to address those specific issues?
Choice of simple moving average : From choice of simple moving average, weighted moving average, exponential smoothing, and linear regression analysis, which forecasting technique would you consider the most accurate?why?
Equilibrium quantity and price in market : What are the equilibrium quantity and price in this market?
Identify a local health coalition or advocacy group : Identify a local health coalition or advocacy group (offered in your residential state or geographical area GEORGIA) and describe its mission, objectives, and offerings

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd