• Avoiding Global Variable Placement at X:0000
    Hi All. A subtle but interesting problem cropped up from a Salvo user ... basically, a service wasn't working because the user had placed Salvo's global variables in xdata space AND Cx51 happened to...
  • Avoiding startup initialization of variables
    Hello all, My target is based on micro T89C51RD2 (with 64K flash, 1K RAM and 2K EEPROM), also in my target 32K SRAM and 8K EEPROM. I need that some values of some parameters will not bee initialized...
  • Global Variable.
    In my project I have two files. as follows File A int x; main() { x=2; } File B extern int x; { x=4; } When I compile both files independatly, there is no error. When I link both modules...
  • Global variable
    In my project I am using four source code files. There is one variable, which is used in all four files. When I declared this variable in one file and compiled the file, the compilation was successful...
  • avoider robot
    i need help. i get this source code #include <at89x51.h> #include <delay.h> #define usi P3_2 // ultrasonic in #define uso P3_3 // ultrasonic out unsigned char i; bit x; at 0x90 sbit...