Uses of macro instructions

Write down some of the uses of macro instructions?

E

Expert

Verified

Macro instruction arguments are the extension of the macro facility to allow the modifications in the coding that replaces a macro call. Macro performs operation in the similar way with a variable parameter or argument. Such a parameter is termed as macro instruction argument. This is specified in the macro line and distinguished by the ampersand (&), that is always its first character. Example:

MACRO SOURCE
INCR &ARG
A 1,&ARG
A 2,&ARG
..
INCR DATA1 Use DATA1 as operand
.
INCR DATA2 UseDATA2 as operand

   Related Questions in Computer Engineering

©TutorsGlobe All rights reserved 2022-2023.