• Variable declaration
    I am lost in this : Define src_ptr and dest_ptr at address 0x20001000 & 0x20002000 without assembler directives. What should I do?
  • DECLARING VARIABLES (arrays) IN HEADER FILES
    Hi, There is a Q&A in keil database named "GENERAL: DECLARING VARIABLES IN HEADER FILES" It shows how to declare single variables & initialize them in a header file. When I use the same method...
  • #define statements on variable declarations
    Hello. I am trying to find new and exciting ways to optimize (read: shrink down) my current code and want to include an eeprom autorefresh option to cut down on variables. Basically, when I have 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?
  • Multiple declaration of the same variable
    I builded a small project as follows: ============================= int a; int a; // Yes the same variable declared in the same way main() { ...// anything } ============================...