Why is C used for the hardware interfacing examples instead of assembly language?
I feel that the goal of introducing students to assembly language programming is accomplished in the first seven chapters in which PIC18 assembly language is covered in a C language context. When the hardware topics are started, C is used to reduce the complexity of the code examples and to focus the student’s attention on the hardware interfacing issues, and not the coding. The use of C in the first seven chapters for assembly language coverage topics prepares the student for the transition to C examples in the hardware chapters.