A C code example to demonstrate assembly language

extern int myFunc(int intPar, char* stringPar);

int main(void) {
    char * string = "hello";  // a local string
    int result = 0;           // a local integer 
    int arg1 = 1;             // a local integer
    result = myFunc(arg1, string); // 2 parameter, 1 return parameter
    return 0;
}

int myFunc(int intPar, char* stringPar) {

    int localVar = intPar;        // parameter used to init local var.
    char* localString = stringPar; // same here
    return 44;                   // return value needs to go back to caller
}