• Literalizing the '#' character in #define
    The C51 pre-processor treats the "#" character as the "Stringize" operator. How do I override this operator when desired? For example: #define X mov A,#10 Expands to: mov A,10 How can I force...
  • Keil a mess?
    Hello! I've been using Keil IDE for 8051 since years and it always worked fine. Now I need to work with ARM processor. Since I'm new to it, I wanted to start with the examples. I got the MCB2300...
  • How to avoid literal pools ?
    Note: This was originally posted on 19th January 2012 at http://forums.arm.com Hello everyone, I am using Cortex-R4F (TI TMS570), and I noticed that ARM C compiler often adds data in literal pools as...
  • What a mess! (about structures)
    The following is a part of one of my source file: struct s{char *p}; struct s code a = {"string1"}; struct s code b = {"string2"}; I wonder how the structures, 'a' and 'b', are arranged in the memory...
  • What a mess! (about structures)
    The following is a part of one of my source file: struct s{char *p}; struct s code a = {"string1"}; struct s code b = {"string2"}; I wonder how the structures, 'a' and 'b', are arranged in the memory...