• __attribute__((bitband)) address miscalculation?
    Hello, I'm using Keil MDK 3.80a on STM32 and trying to use the bitband attribute to access individual bits in a 32bit register. typedef struct { uint32_t a0: 1; uint32_t b0: 1; uint32_t c0...
  • Compiler bug results in crashing code
    Below some sample code with the generated assembly. You will see that under some coditions there will be PUSH AR7. This push is never removed from stack and it will keep growing until the program is crashing...
  • problem with local arraydeclaration/address parameter passing
    l.s., Has anyone experienced problems with declaring a local array and passing the first element of the array address as a parameter of a function? When this is done(sometimes....) the array is...
  • how cain pass through a pointer's address to a function
    I declared different parameters, variables and pointers and I put into in two blocks. I declare and defined function for calculating, saving and checking chksum for both block. I realised that the compiler...
  • 7.0 Results
    I upgraded my CA51 to 7.00. My initial results on my code for my 5K part are: Keil 6.23 CA51 => 4F9B code size Keil 7.00 CA51 => 5035 code size I like to keep current with my tools. Is there an...