• Float point Assignment Problem
    I am using Silicon Labs C8051F344 controller and for one of my project the floating point precision required is 6 digits after decimal point. I am now facing with the following problem: #include...
  • Get assigned DHCP address
    How can my application know at run time what IP address was assigned to it by the DHCP server? Thanks.
  • Problem with assigning the address of a function to a LIB-variable
    I have written a LIB with the following decleration: idata u_char clock_occ; idata void (*f_ce)(u_char stat); I use it in the LIB in the way as: clock_occ = 1; f_ce(TRUE); so far, no problem...
  • 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...
  • function point
    flowing is error,Please help me!! #include <stdio.h> #define NUMBER 2 int max(int a[]) { int z; if(a[0]>a[1]) z=a[0]; else z=a[1]; return(z); } int process(void (* fun)(void...