hi there,
i have got a problem with a 80c51 processor and Keil C Compiler:
when i use a "if"-structure in a interrupt routine, it is ignored: the
part inside the if-structure will always be executed, even if the
state is false. Can anyone help me?Here a code example:
if (CCF1 = 1)
{
CCF1 = 0;
P0_5 = 1;
}
the code inside is always executed, even if CCF1 = 0.
???why