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

11

PROGRAMMING EXAMPLES-II

CHAPTER OBJECTIVES

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

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