> On Sat, Jun 08, 2002 at 05:11:01AM -0400, Anshuman Rawat wrote: > > while handling a fast interrupt, only those registers are saved that are > > modified by a normal C function (?). This means that , if assmbler code is > > to be used in the handling routine, the remaining registers (?) must be > > saved beforehand and restored afterwards. > > what does the author mean by registers modified by a normal C function, and > > the remaining registers? > > A CPU has some registers in order to store data and process them using > the internal command set of the architecture. Registers are the internal > "memory" of the CPU. > > In the program flow, when the control is taken by a function > (this is not only for C), some values are stored to specific registers. > This helps the CPU to know what to do (i.e. in which mem address will > start reading) when the function returns. > > Elias > so it means that only those registers are saved that were being used by the process which was interrupted? or only those which the process was using and the intr. handling routine will also use?
- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
