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

What is lookup table microcontroller?

936


How many hardware interrupts 8085 supports?

1035


explain the flow of a typical instruction word

1176


What is the function of ale and how does it works?

993


explain the difference between 8086 and 8088?

1089


List some analog modulation techniques.

1029


What is stack pointer?

1044


What is non-maskable interrupts?

1141


Explain why do you use two ground pins in microprocessor 8086?

1048


Which interrupt has the highest priority?

1079


Design a transmission gate based xor.

1003


What is base segment address?

1032


What location code memory space and data memory space begins?

2038


Give example of bit address and byte address?

1039


What is the purpose of clk signals of 8085?

1129