• Variable corruption
    I'm having a hard time to figure out what is wrong with my code. My code is spread into one common area and additional 4 banks. I have some global variables, mainly structs, that are used throughout...
  • Variable corruption
    Hello, I have developed an application using the 8051 and c51, there is a external memory 93c46 which contains the control variables for the applcations, these variables are read at the start of the...
  • When declare a variable to be static?
    Can someone give some explains on when to declare a variable to be static? What is the difference with extern one?
  • GARBAGE DATA IN XDATA VARIABLE
    Dear All, I am getting garbge value, in my xdata variable. I am using c8051f021 controller with internal xdata of 4K.I do not understood why such problem occurs suddenly. Whether this is because...
  • About variable declarations in data segment
    Syntax: Dseg at 00H count: ds 1 When I decalre the variables in data data segment from memory lacations 00h-07h, compiler is giving below message. WarningL4:Data space memory overlap. From:0002h...