O'Reilly logo

8051 Microcontrollers, 2nd Edition by Subrata Ghoshal

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

9

LOGICAL OPERATIONS

CHAPTER OBJECTIVES

Apart from arithmetical operations, which we have discussed in Chapter 5, logical operations play an important role in data processing in many cases. In this chapter, the reader is introduced to the related instructions for logical operations offered in MCS-51. After going through the chapter, the reader should be able to understand

  • Addressing modes and syntax of instructions used in logical operations.
  • Applications of these instructions in different problem-solving software routines.

9.1 | Introduction

Before we start our discussions on logical operations possible with MCS-51, the reader may be reminded that MCS-51 is capable of performing logical operation with both byte and bit variables. Operations ...

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