The function:
WORD my_function_name (BYTE a, WORD b);
Declaring a pointer to a function:
WORD (*p_function)(BYTE a, WORD b);
Loading it:
p_function = &my_function_name;
Calling it:
btemp = my_function_name(1, 2);
or
btemp = (*my_function_name)(1, 2);
If your function returns a pointer of some sort then thts fine, just add the extra asterix:
WORD *my_function_name (BYTE a, WORD b);
WORD *(*p_function)(BYTE a, WORD b);
p_word = my_function_name(1, 2);
