Page 2 of 2
Re:Multitasking
Posted: Sat Sep 16, 2006 8:48 am
by piranha
how do you print them? I am not too good with assembly
Re:Multitasking
Posted: Sat Sep 16, 2006 12:39 pm
by ces_mohab
you notice that before iret these 5 variables are pushed so declare a c function having 5 parameters;
Code: Select all
void print(unsigned x1,unsigned x2...)
{
//print them
}
and simply call this function using call _print
Re:Multitasking
Posted: Sat Sep 16, 2006 12:40 pm
by ces_mohab
Oh I forgot take care of order
get the order from intel manual
::)
Re:Multitasking
Posted: Sat Sep 16, 2006 7:03 pm
by piranha
ok, thanks!
I got it working!