• How to declare a 12bit variable at KEILC
    Dear all: Would somebody can tell me how to declare a 12bits variable in KeilC ? Now I only know use struct to do this. just like struct OneHalf { unsigned int a: 12; }; but I remember that...
  • Variable declaration
    I am lost in this : Define src_ptr and dest_ptr at address 0x20001000 & 0x20002000 without assembler directives. What should I do?
  • DECLARING VARIABLES (arrays) IN HEADER FILES
    Hi, There is a Q&A in keil database named "GENERAL: DECLARING VARIABLES IN HEADER FILES" It shows how to declare single variables & initialize them in a header file. When I use the same method...
  • Inline assembler syntax
    I am working on ARM Cortex M-3 with Keil uVision Comipler.Earlier i had worked with Red Suite Compiler. It used "asm volatile" keyword for inline assembly. But with Keil, when i try using "__asm...
  • M0 assembly syntax
    I have some ARM assembly code that needs some porting to a Keil environment intended to run on an M0. I am getting some errors for register uint32_t *mp __asm("r0") = < pointer> ; This is...