A very basic question. I have learnt that device drivers and interrupt service routines are some program or codes only. whenever required they are made to execute. Execution means CPU is executing some instructions out of its instruction set ISA. So does it mean that device drivers and ISRs are also machine instructions to generate the required result?
what exactly such programs likes device driver and interrupt routines made up of? do such programs also have a data segment, code segment and stack segment?
I am learning x86 assembly language and C .
That is an accurate assessment. A complex enough device driver has a data segment, code segment and a stack segment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With