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 ...