• 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...
  • Could not pass argument in register
    Hello to everyone I have problem with passing argument in register I have 3 functions, The first and the second is ok and they use only R7, A ,B in function body and argument is passed in register...
  • Passing arguments between c and assembler functions
    I am trying to write a c program in keil, which interfaces with assembler functions. I have managed to allow the c program to call these functions but i'm unsure of how to pass arguments between them...
  • 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...
  • LDR Register Assignment
    Note: This was originally posted on 22nd February 2012 at http://forums.arm.com Here I'm doing basic assignments and read write routines for verfication: ldr r1, StartRegs   ...   StartRegs: .word 0x00000989...