• Control GLOBAL REGISTER OPTIMIZATION in uVision
    I'm wondering if there is a way to control the number of passes performed by GLOBAL REGISTER OPTIMIZATION. I have the 'Global Register Coloring' box checked in Options for Target -> C51 but for some...
  • Static function register optimization
    Can someone tell me why all functions declared as "static" do not seem to have any register optimization done on them? At least this is implied since they are not listed in the map file where register...
  • How to specify DPP register for a global variable?
    I am using XC161CJ. I defined a variable in one assembly module. Then how to specify DPP register for it in another C module? like following extern int myVar; myVar = 1234; My goal is to assign...
  • Assign a global variable to a register
    Hello, in my application I use often a global variable. Since this variable is use in lots of functions, I'd like to assign it to a specific register (like DR28). It is possible? If yes, how can I...
  • Register Coloring OPTIMIZATION question
    Hi, everyone: I am using Keil C251 verison4.53d, and the Register Coloring OPTIMIZATION compiler option does take effect indeed, code size decreased when it is used. In my Application, there exist timer...