CS2422 Assembly Language & System Programming

Macro Processor- Basic Function
What is a macro?


A macro represents a commonly used group
of statements in the source programming
language.
The macro processor replaces each macro
instruction with the corresponding group of
source language statements. This is called
expanding the macros.
SIC/XE Program Using Macros
SIC/XE Program with Macros Expanded
Macro within a Macro Body
Data Structure
Macro Processor Algorithm