Discuss merits and demerits of macro over procedures, Electrical Engineering

Assignment Help:

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.


Related Discussions:- Discuss merits and demerits of macro over procedures

How single stepping can be done in 8086, How single stepping can be done in...

How single stepping can be done in 8086? By setting the Trace Flag (TF) the 8086 goes to single-step mode. In this mode, after the implementation of every instruction s 8086 ge

Field current and the armature terminal voltage, Consider the operation of ...

Consider the operation of a dc shuntmotor that is affected by the following changes in its operating conditions. Explain the corresponding approximate changes in the armature curre

What is an interrupt, What is an interrupt? An interrupt is either a s...

What is an interrupt? An interrupt is either a software-generated CALL or hardware-generated CALL.

What is photovoltaics?, Photovoltaics  is a high-technology approach  to ch...

Photovoltaics  is a high-technology approach  to changing sunlight  directly  into  electrical  energy.  The  electricity  is direct  current  and  can  be  used  that  way,  chnag

Determine the i-v characteristic of the network, Determine the i-v characte...

Determine the i-v characteristic of the network shown in Figure by the use of breakpoint analysis.

Ac waveform, which ckt. Or components using for irregular ac sine wave ...

which ckt. Or components using for irregular ac sine wave change into pure sine wave.......

Determine the active - reactive and apparent power, Determine the active - ...

Determine the active - reactive and apparent power: In the given circuit, determine the active, reactive and apparent power. Figure Solution  The inductive

What are the modes of operations used in 8253, What are the modes of operat...

What are the modes of operations used in 8253? Each of the three counters of 8253 can be operated in one of the following six modes of operation. 1. Mode 0 (Interrupt on ter

Data copy operations, Data Copy Operations Instructions which  are used...

Data Copy Operations Instructions which  are used  to copy data from  one location to another  location kept in  this category. The location from  which data  is copied  is cal

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd