|
calling a function within a task
this is related with Scheduler operations in Intel pentium board.. Task switching is happening with the timer interrupt. i am storing the registers of old task & restoring new tasks registers. Local Variables within the task are working properly. but when i am calling a function ( simple adding of 2 numbers) inside the task continuously, the functions return value is not proper every time.....
Can somebody help me out...is there any problem with restoring registers or some thing else ?????
|