Question

Why do interrupt handlers use different return instruction than functions? **Please explain the difference thoroughly as...

Why do interrupt handlers use different return instruction than functions?

**Please explain the difference thoroughly as i'm trying to realy understand it. As well as examples of both they're return instructions
Added context: We are using MSP430's in C

Thank you.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Intrupt Handlers:- In computer system programing interrupt handler also known as interrupt service routine or isr.

Interrupt handlers are expected to set interrupt flag to appropriate values as part of their core functionality.  

An interrupt handlers normally would normally save smallest amount of context necessary then reset the globle interrrupt disable flag at the first opportunity, to permit higher priority interrupts the current handler.

Add a comment
Know the answer?
Add Answer to:
Why do interrupt handlers use different return instruction than functions? **Please explain the difference thoroughly as...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Explain what enterprise resource planning (ERP) systems. Outline several of their key characteristics. Describe in reasonable...

    Explain what enterprise resource planning (ERP) systems. Outline several of their key characteristics. Describe in reasonable detail how a company leverages an ERP system and how its operations are improved after installing an ERP system like SAP. Explain how a supply chain management system helps an organization make its operations more efficient What is Upstream and Downstream management of the supply chain? Explain the concept of “Supply Network”, its benefits, and how technology made this concept available Explain the difference...

  • Hey guys, I need some help solving this problem. thank you very much in advance! Pontfolio Optimization Task 4 Suppose the shares of two different companies give you the same return on average...

    Hey guys, I need some help solving this problem. thank you very much in advance! Pontfolio Optimization Task 4 Suppose the shares of two different companies give you the same return on average. Does it make sense to distribute your money and buy some shares of each company? Or would it be better to invest all the money into only a single company? Common sense says: "distribute" Why? Let's see... What at all could we gain if the return is...

  • Please do not delete the questions. 1. What is the purpose of a database? 2. What...

    Please do not delete the questions. 1. What is the purpose of a database? 2. What is the reason to use a database over a spreadsheet? 3. Based on the previous answers (#1 & #2), there is a simple rule of thumb. A spread sheet is used when there is _________________________. A database is used when there are _________________________. 4. Please answer followings. a) A group of 8 bits is called a ____________ (from Chapter 4). b) The answers of...

  • Barnes Boards produces skateboard parts for six different major US skateboard manufacturers. Barnes specializes in the...

    Barnes Boards produces skateboard parts for six different major US skateboard manufacturers. Barnes specializes in the production of trucks, which attach the skateboard wheels to the skateboard deck and allow the rider to turn the skateboard.  Barnes Boards' trucks are made primarily of molded aluminum.  Currently, Barnes Boards produces two different types of trucks: The 700 and the 775. The 700 has the highest sales and for many years was the only truck produced by Barnes Boards. As a result of the...

  • A critical introduction into the study of religion. Explain why Martin treats religion as a social...

    A critical introduction into the study of religion. Explain why Martin treats religion as a social construct—both the category ‘religion’ and the stuff it denotes—using Kessler’s discussion of the Dao and Anselm as examples. How Society Works: Essentialism Animism and Essentialism According to some of the theories of primitive savages and primitive religion discussed briefly in Chapter 1, religion originated when ancient peoples attempted to understand and explain mysterious forces whose causes were beyond their primitive" understanding. What causes thunder?...

  • Assignment 5 will be way different. It will be more like what you will receive in...

    Assignment 5 will be way different. It will be more like what you will receive in a programming shop. By that I mean that some things are built for you and others you will need to create or finish. P.S. part of your grade will include: Did you add in the required files? Did you rename your project? does your linear searches work? Did you put your code in the correct modules? did you change modules that you weren't supposed...

  • use the information in chapter one to complete it ( in case you do not have...

    use the information in chapter one to complete it ( in case you do not have the book, i post a picture). write a few sentences in each box explaining the extent to which the statements in the left column apply to each of the theories. thank you! Themes and theories Constructivism (Piaget) Social constructivism (Vygotsky) Bioecological systems theory (Bronfenbrenner) nta The environment plays an important role in development Innate factors drive development Development follows a smooth continuous path ning...

  • please use python and provide run result, thank you! click on pic to make it bigger...

    please use python and provide run result, thank you! click on pic to make it bigger For this assignment you will have to investigate the use of the Python random library's random generator function, random.randrange(stop), randrange produces a random integer in the range of 0 to stop-1. You will need to import random at the top of your program. You can find this in the text or using the online resources given in the lectures A Slot Machine Simulation Understand...

  • What alternative do you believe Mr. Markham should select? Offer your rationale for your selection. The...

    What alternative do you believe Mr. Markham should select? Offer your rationale for your selection. The Case This case was developed by the MIT Sloan School of Management. It is part of their “Learning Edge,” a free learning resource. This case was prepared by John Minahan and Cate Reavis. This case is based on actual events. Actual names are changed; some of the narrative is fictional. In early 2012, as he prepared to enter a meeting with the board of...

  • Question 1: Comment on each of the three source attributes that contribute to a celebrity's potential...

    Question 1: Comment on each of the three source attributes that contribute to a celebrity's potential effectiveness as an endorser (credibility, attractiveness, and power) and how the proposed Chinese celebrity measures up in each of those attributes. Wei Song noticed the fashion models first, preening in their chiffon- and-lace gowns. STEPHEN MASON and JOSEPH SAIVACRUZ are professors of business practice at HKUST Business School. LP. STEVENSON is a manager of competitive intelligence at the Fung Group. This fictionalized case study...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT