© Hubert Henry Ward 2020
H. H. WardC Programming for the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-5525-4_8

8. Understanding Some Useful Code

Hubert Henry Ward1  
(1)
Lancashire, UK
 

This chapter involves some detailed analysis of the instructions. It will involve describing what the instruction should do and so predict the result of the instruction. It will then explain how you can single step through the program while watching the variables to see if the result is what we predicted. This chapter will also look at one of the very powerful debug facilities of the MPLABX IDE.

We will examine some of the main operations in ‘C’ code. The following is a list of the coding we will look at:
  • Pointers; what they are and how to initialize them and ...

Get C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.