Page 158 - DCAP210_INTRODUCTION__TO_MICROPROCESSORS
P. 158

Introduction to Microprocessors                               Gurwinder Kaur, Lovely Professional University


                  Notes                          Unit 11: Counters and Time Delays




                                   CONTENTS
                                   Objectives
                                   Introduction
                                    11.1 Program Counter
                                        11.1.1 Updating the PC
                                    11.2 Branching

                                        11.2.1 Non-Offset Branching
                                        11.2.2 Offset Branching
                                        11.2.3 Offset and Non-Offset Branching
                                    11.3 Time Delays
                                    11.4 Programmed Time Delays
                                    11.5 Using a Register Pair as a Loop Counter

                                        11.5.1 Nested Loops
                                        11.5.2 Nested Loops for Delay
                                        11.5.3 Delay Calculation of Nested Loops
                                        11.5.4 Increasing the Delay
                                    11.6 Programs using If Loops Counters Accumulators
                                    11.7 Hexadecimal Counter
                                    11.8 Summary
                                    11.9 Keywords
                                   11.10 Self-Assessment Questions

                                   11.11 Review Questions
                                   11.12 Further Reading


                                 Objectives

                                 After studying this unit, you will able to understand the following:
                                 •  Explain program counter

                                 •  Understand the concept of branching
                                 •  Describe time delays

                                 •  Explain programmed time delays
                                 •  Understand register pair as a loop counter
                                 •  Explain programs using if loops counters accumulators
                                 •  Describe hexadecimal counter







        152                              LOVELY PROFESSIONAL UNIVERSITY
   153   154   155   156   157   158   159   160   161   162   163