• Function
    Hello, We recently purchase keil PK51 software, we wanted to solve following error's, kindly help us. 1. When we compile our code by using PK51, it generate random functions. We required to set function...
  • Function argument getting modified by function
    I am passing an array to a function to sort it and return the median value. I do not want the global array to be sorted. I only want the array to be sorted within the function. I thought that when a variable...
  • memcmp function
    I'm having a problem with the memcmp library function. Even though the buffers match, it returns a value that is not 0. Here is the code: if (sx == app_id[0]) { sx = memcmp((rx1_buf+y),app_id,8);...
  • 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...
  • uncalled functions
    Hi, I am using C51 version 1x (or 5x). I have some uncalled functions and it seems like they are included in the final binary. Does any one know how to make the linker not include the uncalled funtions...