We replace each occurrence by a macro instruction
and update any other occurrences that contained the replaced occurrence to reflect this change.
A Macro instruction
actually represents a branch into the ROM; the instruction fetch unit starts fetching instructions from the ROM at the address specified by the macro opcode.
22 mins LESSON 14 software, assemblers, source decks, object decks, review, macro instructions
, compilers, Cobol, Fortran, review.
are documented by entering comments to the right of the cells containing the macro.
The menu range consists of at least three rows: the first row contains the options, the second row contains the explanation of each option, and the remaining rows contain the macro instructions
to be executed if the option is selected.
For example, if the user chooses the option check, the macro will branch to a range named "check" for further macro instructions