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

  Write a reflective essay of 750-1000 words on the

write a reflective essay of 750-1000 words on the historical development of policing and the unique challenges faced

  What is the role of ram

What is the role of: RAM, clock speed, data on hard disk, data on CD ROM, and data on floppy disk.

  The processor save in fraction of its visits to keyboard

In an 8-hour interval, an operator controls systems with 60 commands on an average, entered through a keyboard.

  Develop a simple checkout system that system was so

develop a simple checkout system. that system was so successful that theyve decided to expand their operations by

  Procedure to generate indexes for foreign keys

Procedure to generate indexes for foreign keys.

  Using the models in system design

In the System Analysis and Design: Models are used extensively in the wide variety of the technical occupations beyond the information technology.

  Explain the type of protocol you would use in this situation

Your company has a network that contains several NetWare 4.11 servers and uses IPX as the routing protocol. Each of the network segments has minimum one NetWare server on it. Which of the following responds to a Get Nearest Server (GNS)request from..

  The hard drive will the original query take

suppose (somewhat artificially) that RAM can hold 200 rows and devotes half of that to reading one table and half to reading the other table and has "other places" to store the subquery/query results.

  Download the case study titled using the lsquotechnology as

download the case study titled using the lsquotechnology as experience framework from id-bookthe user experience

  What are some automation tools

What is the office automation and group collaboration software which is used in any oraginization? How do you analize this/ what are the ad/disadvantages on this method.

  Use the branch-on-equal mips assembly instruction

Explain how to convert the address(hex) to words(bits) ? Is there any shortcut to do this type of conversion?

  Predict the future role of the communication technology you

select one 1 of the following topics in which you will base your responses in the form of a term papernetwork

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