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

10

BOOLEAN VARIABLE MANIPULATION

CHAPTER OBJECTIVES

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

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