BIT MANIPULATION

CHAPTER

7

7.1 Logical Operations

7.2 Shift and Rotate Instructions

7.3 Converting an ASCII String to a 2’s Complement Integer

7.4 Chapter Summary

A computer contains many integrated circuits that enable it to perform its functions. Each chip incorporates from a few to many thousand logic gates, each an elementary circuit that performs Boolean and, or, exclusive or, or not operations on bits that are represented by electronic states. The CPU is usually the most complex integrated circuit in a PC.

Previous chapters have examined the 80x86 microprocessors’ instructions for moving data, performing arithmetic operations, branching, and utilizing subroutines. The 80x86 and other CPUs can also execute instructions that perform ...

Get Introduction to 80x86 Assembly Language and Computer Architecture, 3rd Edition 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.