• 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;...
  • Named register failed compilation
    Hello! Everybody! Please help me. I would like to use named register. R6 for example. After a subroutine, which modify this register, the compiler doesnt recognize it, and place a nop where I...
  • STM32 CAN registers name in keil
    Hi all ! Excuse me for my english ! I have a problem with CAN controller in STM32F107 . For use the registers of reference manual in keil, must use the nick name of each register that available...
  • variable name confusion
    void tst() { { char x; _x = 0; } // ... error C202: '_x': undefined identifier { char _x; x = 0; } // No errors! Are "_x" and "x" the same here? }
  • Leading underscore in variable name
    Hi, I try to investigate a program written by a former collegue. An 8-bit dipswitch is connected to the microcontroller address/data bus. Two variables are declared in an assembler file: public...