• 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...
  • Pointer to function
    Hello all, can anyone give an example or link how to use a pointer to a function? I have a function with an (unsigned char) argument and which returns also an (unsigned char) value and I want to access...
  • function pointer
    hi all, do you think i can work around function pointers as following: extern void a(void); extern void b(void); void fptr(void *fp) { if (fp == a) a(); if (fp == b) b(); } void...
  • Function pointers
    Hello all, We have a strange problem. During execution of a function, the control goes to some different line in a different function, without making a call it... I will try to explain the scenario...
  • Function pointers
    Warning: Not directly related with Keil... After the messages on the pointer and function pointer usage, I read the application note 129 and confused on the syntax of calling functions using funct...