This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

unsigned long and float variables corrupted

Hi everyone

I was working with float and unsigned long variables and I use the cygnal 8051 mcu
it has xdata and idata 8k and 256..

when I put these variables in idata works fine but when I put them in xdata my program became unstable

someone know why?

well,can be overlaying variables but how do I avoid this overlay process from the compiler?

please give suggestions to detect the overlay variable problem..

thanks

0