hi all I am working with keil ide. And cygnal 8051f120,my compiler version is 7.20, I am facing some problems with the optimization .my code size is above 36 kb, when I use optimization level default (8) the float values and long values are giving me wrong results even for simple addition .this error is highly sensitive to optimization. if decrees the optimization this error some times the error is there some times the error is not there, please help me out hari
Some bits of information would be helpful, like: - the actual source code in which the error occurs. - what the false result is (is it always the same or does it change) - are there any ISRs running at the same time as the operation that return the false results.