Tag Archives: execution


Explain the process of handling an interrupt that occurs during a program? 9m jun2006

Explain the process of handling an interrupt that occurs during the execution of a program, with the help of an example. 9m jun2006   Interrupt Handling and Instruction Cycle  On the occurrence of an interrupt, an interrupt request (in the form of a signal) is issued to the CPU. The CPU on receipt of interrupt… Read More »

What is the difference between a function and a macro? Find the largest number among two numbers using a function definition as well as a macro. Which is more efficient in terms of execution time and code size? 10m Jun2006

What is the difference between a function and a macro? Find the largest number among two numbers using a function definition as well as a macro. Which is more efficient in terms of execution time and code size? 10m Jun2006  Difference between a function and a macro:    Function Code  Macro Code Function takes 5… Read More »