• Xdata initialization
    Hi, I want to know the way to initialize the Xdata memory from main() routine. Xdata starts from 0x0000 to 0x0800. Generally this will be taken care by startup routine (startup.a51). But i modified this...
  • Initializing Memory
    How do we initialize the XDATA memory with dummy data (e.g. 0xDEADBEEF)? By default all the memory is initialized to 0x00 during debugging (in the IDE). When you burn your firmware on the controller...
  • Array Initialization
    Dear All: I use a array in my program like this. int a[256]; But I found that, at program start phase, the system would initialize the array. Because my program storage is small, and ...
  • initialize variable with binary value?
    hi all it may seem very easy but i can't initialize my code constants with binary value in c51 ver 3.20 franklin DOS version i want to: code char bin_code[3]={ 0b1100110011,0b1111110011,0b1100111011...
  • initializing a port as output
    I have to initialise the port P1 of the 89C51 as output port with all port lines initialised to a high state i.e. 1. Now for initialising the port P1 as output, I have to give the instruction P1 = 0x00...