PDA

View Full Version : Error with assigning ..interrupt value?



jawwadalam
04-13-2003, 07:11 PM
why does it gives me error on second line.. of the code..?



int main(void)
{
void interrupt (*old)();
old = 0xffff0000; //here gives me error...
(*old)();
}

jawwadalam
04-15-2003, 10:28 AM
I have tried a lot to cast the value.. but in vain.. plz write a code line to typecast.. the values on the right.. which is causing error