O'Reilly logo

Microcontrollers, Second Edition by J. W. Bruce, Robert Reese, Bryan A. Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 5EXTENDED PRECISION AND SIGNED DATA OPERATIONS

This chapter applies the arithmetic, logical, and shift operations discussed in the previous chapter to extended-precision operands; that is, operands that are larger than 16 bits. Furthermore, signed number representation and its effect on shift and comparison operations are covered.

Learning Objectives

After reading this chapter, you will be able to:

image Translate C language statements that perform extended-precision addition, subtraction, bitwise logical, and shift operations into PIC24 instruction sequences.

Compare and contrast signed magnitude, one’s complement, and two’s complement representations ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required