• ldr (register, several values)
    Hello, I've a small simple question: ldr r4, =||Image$$ER_IROM1$$RO$$Length||+||Image$$RW_IRAM1$$RW$$Length|| At the moment I get an error message from Keil, using this code in the startup...
  • 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...
  • assigning function parameters to registers
    I have code (borrowed from another platform )that attempts to optimize by using assembly code. The function is an addition of arrays and is a C function such as uint32_t AddNumbers ( uint32_t *p_addResult...
  • Keil generating misaligned LDR?
    On a Cortex M0: 50: tmp=SST_PSI->BANK[2].PERID //should be 0x40050000 0x000006EA 480A LDR r0,[pc,#40] ; @0x00000714 ... 0x00000712 1000 DCW 0x1000 0x00000714 0000 DCW 0x0000 0x00000716...
  • function argument assigne to ARM register in assembly
    Note: This was originally posted on 4th September 2009 at http://forums.arm.com Hello, I am developing application on OMAP3530-beagleboard using code sourcery tool chain. I have used assembly function...