Computer Science, asked by uthiravasagan341, 1 year ago

Define two macros of your choice to illustrate nested calls to these macros

Answers

Answered by kuruk
0

III.11.8 Nested Macro Definitions

A macro body may also contain further macro definitions. However, these nested macro definitions aren't valid until the enclosing macro has been expanded! That means, the enclosing macro must have been called, before the nested macros can be called.


Example 1:

A macro, which can be used to define macros with arbitrary names, may look as follows:

DEFINE MACRO MACNAME

MACNAME MACRO

DB 'I am the macro &MACNAME.'

ENDM

ENDM

Answered by latav2006p1x6u7
0
What r macros??? I didn’t understand
Similar questions