discuss merits and demerits of macro over


Discuss merits and demerits of Macro over procedures. 

The MACRO directive informs assembler the starting of a macro which is used with ENDM directive to enclose a macro. The common format of the MACRO directive is as: Macro Name MACRO ARG1, ARG2, ....., ARG N.

The dissimilarity is that a procedure is accesses using a CALL instruction, whereas a macro and all the instructions explained in the macro are inserted in the program at the point of usage. Creating macro is very same to creating a new op-code which can be used in the program.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: discuss merits and demerits of macro over
Reference No:- TGS0288591

Expected delivery within 24 Hours