oh right, thanks. i don't really need the object oriented approach, its just that i've used c++ before that's all.
anyway, what i meant by a recursive function is a function that calls itself e.g.:
function factorial(n)
if n=0 then result:=1
else result := n*factorial(n-1)
so the result of the above function is the factorial of the number n..i hope i got that function right..i was just doing it off the top of my head..i hope u get the idea of what i'm trying to do.
well..are there any programs which will convert a C program into assembly language so that I can just program the PIC16F877 in C? i've really cracked my head trying to figure out how to program a recursive function in assembly language. TIA!