© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
H. H. WardProgramming Arduino Projects with the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-7230-5_14

14. Analyzing Obscure Instructions and Logic Operators in C

Hubert Henry Ward1  
(1)
Leigh, UK
 

This chapter is designed to take away some of the mystery of C programming. We will look at some obscure instructions and analyze how they work and we will use the debugging mode of MPLABX to confirm our analysis. We will then look at some of the more common logic operators in C and see how they work. To that end, I have come up with a series of programs that I can use to explain these strange instructions. So let’s get to it.

Obscure C Instructions

Listing ...

Get Programming Arduino Projects with the PIC Microcontroller: A Line-by-Line Code Analysis and Complete Reference Guide for Embedded Programming in C 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.