• Comparison of constant (checking if flash location is not 0xff)
    Hello, I have one application, where I store several copies of settings into internal flash. I made command "CAT" for list of all stored settings. To identify single store location as "empty" I simply...
  • Comparison of constant (checking if flash location is not 0xff)
    Hello, I have one application, where I store several copies of settings into internal flash. I made command "CAT" for list of all stored settings. To identify single store location as "empty" I simply...
  • Can't access addresses 0x00 - 0xFF of memory using XBYTE
    I am using the XBYTE macro to access a memory mapped device. The chip select is being handled via another port (P1) to allow the full 64K of addresses to be axcessed. When I read data from the memory...
  • Can't access addresses 0x00 - 0xFF of memory using XBYTE
    I am using the XBYTE macro to access a memory mapped device. The chip select is being handled via another port (P1) to allow the full 64K of addresses to be axcessed. When I read data from the memory...
  • a!=b&0xff
    unsigned char a=0x12; unsigned char b=0x22; if(a!=b&0xff)//is not true,but why? a = 0; else b = 0;//execute this "a!=b" is true ,so “true &0xff ”should be true,I want to know the c51 compiler why...