• Named register variables
    Hello! In one of my applications i need to copy value of a register in a C variable. Because I work with a LM3S811 I cannot use inline assembler (because it is not permitted when generating Thumb code...
  • memcpy on register variables
    Hi, I have a small helper function which does the following: static void SetDelay( BYTE bBytes0_3, BYTE* pb, DWORD dw) { memcpy( pb, &dw, bBytes0_3+1); } This fails (invoked with bBytes0_3...
  • 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...
  • Keil Named Register Variable not working
    Somebody ever used named register variables successfully and can tell me what i am doing wrong? example code: #pragma O0 // optimization off #pragma thumb // thumb mode __global_reg(8) int myR8;...
  • asm c variable to a assembler register
    hi i start a new try. i am looking for a solution that uVision4 accept to put Variables(Parameters) of c-Code in to Asssembler Registers . A reference to the "C166 User's Guide - Reference ASM"...