Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference detween ISR & function call

Answer Posted / boss

If an interviewer asks this question. i would first say, it doesn't make a lot of sense in comparing these 2.

However, we can compare an ISR and a Function in terms of the do's and don'ts while writing them.

function can have anythings. there is no restriction. But ISR has some restrictions.

1. It should be as small as possible
2. Hence no large functin calls allowed (NO to printf())
3. No blocking function calls from an ISR. It should not
try to take a semaphore. but can release a
semaphore(counting/binary)


There may be few more. Pls google and collect all

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If the crystal oscillator is operating at 15 MHz. What will be the PCLK output of 8284?

1754


Explain the different modes of operations of the 8086?

1000


Explain architecture of 8051 microcontroller?

1122


Give truth table for a half adder, give a gate level implementation of the same?

1027


What all does a microprocessor comprise of?

1111


Give example for non-maskable interrupts?

1013


What is the width of address bus?

1119


Explain the 8051 microcontroller architecture?

1091


Define microprocessor?

1303


What are the flags used in 8086?

1013


The operation being performed by the 8085 can be checked by which pins?

1003


Given a circuit, draw its exact timing response?

3703


What is the difference between a microprocessor and a microcontroller?

1097


What happens when call instruction is executed?

1131


Why stack is used in program?

1074