In the previous chapter, it was mentioned that apart from manipulating byte variables, MCS-51 can also manipulate bit variables. This chapter discusses the instructions dealing with Boolean variable manipulation. After completion of the chapter, the reader should be able to understand

  • Instructions related with Boolean data-load and data-move operations.
  • Program-branching instructions related to Boolean variables.
  • Logical operations possible with Boolean variables.
  • Application areas of some of these instructions.

10.1 | Introduction

All the instructions we have discussed so far are related to byte variables. However, MCS-51 also offers a bunch of instructions, which are capable of manipulating ...

Get 8051 Microcontrollers, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.