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

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.