Page 96 - DCAP507_SYSTEM_SOFTWARE
P. 96

System Software                                                   Nisha Sethi, Lovely Professional University




                    Notes                                Unit 7: Macro Language

                                     CONTENTS

                                     Objectives
                                     Introduction
                                     7.1  Macro Instructions
                                          7.1.1  Macro Processor
                                          7.1.2  Format of Macro Definition

                                          7.1.3  Basic Macro Processor Functions
                                          7.1.4  Macro Processor Algorithm and Data Structures
                                     7.2  Machine Independent Macro Processor Features

                                          7.2.1  Concatenation of Macro Parameter
                                          7.2.2  Generation of Unique Labels
                                          7.2.3  Conditional Macro Expansion
                                          7.2.4  Keyword Macro Parameters
                                     7.3  Implementation

                                          7.3.1  Implementation of Conditional Macro Expansion (IF-ELSE-ENDIF Structure)
                                          7.3.2  Implementation of Conditional Macro Expansion (WHILE ENDW Structure)
                                     7.4  Summary

                                     7.5  Keywords
                                     7.6  Review Questions
                                     7.7  Further Readings

                                  Objectives

                                  After studying this unit, you will be able to:

                                      Understand the concept of macro instructions
                                      Discuss features of macro processors

                                      Understand the implementation of macro processors
                                  Introduction


                                  In this unit you will understand the concept of macro instructions which has been replaced by
                                  macro processor. You will discuss macro processor functions, algorithms, and data structures.
                                  Also you  will study  various features  and implementations of macro  processor with  their
                                  respective examples.










          90                                LOVELY PROFESSIONAL UNIVERSITY
   91   92   93   94   95   96   97   98   99   100   101