I am not an expert but I have enough knowledge of c languageIf you are looking to learn C, there is the trial version of MikroC and the instruction manual PDF shows all the examples of code.
I only use assembler, but have used the mikroC manual in order to convert and decipher the different instructions to assembler.
Max.
I have posted c program in post #17 I am looking help to improve it