In the last three chapters, we have discussed about MCS-51 instructions related to subroutines, logical operations and Boolean variable operations. In this chapter, we will study a few example programs dealing with their applications. After completion of the chapter, the reader should be able to understand

  • Application areas of subroutines.
  • Application techniques of logical and Boolean instructions.
  • Some important solution techniques such as packing and unpacking of BCD numbers and bubble sorting.

11.1 | Introduction

As we have discussed about most of the instructions of MCS-51, it would be appropriate now to solve few more example problems highlighting applications of these instruction set. Problems ...

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.