• Generate Constant Variables in XDATA
    Hello, did everyone know how i can locate my const variables in XDATA memory. I want to generate the ?XC? const xdata memory prefix. Example : const xdata char test[]="asdc"; This data should...
  • Generate Constant Variables in XDATA
    Hello, did everyone know how i can locate my const variables in XDATA memory. I want to generate the ?XC? const xdata memory prefix. Example : const xdata char test[]="asdc"; This data should...
  • constant bit-fields in struct
    Hi All,, How can i declare constant bit fields in a struct ?? struct mystruct{ unsigned char xx:6; unsigned char yy:2; }mystruct; Let us say i want mystruct.yy to be a constant 00, how can...
  • constant bit-fields in struct
    Hi All,, How can i declare constant bit fields in a struct ?? struct mystruct{ unsigned char xx:6; unsigned char yy:2; }mystruct; Let us say i want mystruct.yy to be a constant 00, how can...
  • LPC845 - ARM Compiler V6 - Declaring and using constants in LP845_startup.s assembly code
    I am looking for an example with the Arm V6 compiler, for reading and writing GPREG0 register of the PMU on the L PC845.s? Specifically, how do you do something like a #define in the assembly code with...