English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Any comments will be helpful.

2007-04-13 19:31:45 · 1 answers · asked by TheOne 1 in Computers & Internet Programming & Design

1 answers

In small memory limited applications which can't afford the overhead of an OS. Micro controllers (uC)would be a good example as they have very limited resources (2K memory for example).If hardware interrupts are not used in a uC then events would not trigger sections code. Instead input polling would be done to monitor an input for something like a buuton press.

Again the reason to not use a hardware interrupt would be to conserve memory. The program can use the memory otherwise used for the interrupt handlers and in some uC's the Stack shares the same memory as data. Not using interrups means there are fewer subroutine calls and less stack space is needed which would make more room for data.

2007-04-14 01:42:45 · answer #1 · answered by MarkG 7 · 0 0

fedest.com, questions and answers