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

Illustrate simple telephone communication system, Q. Illustrate simple tele...

Q. Illustrate simple telephone communication system with circuit and equation of current flow in microphone? Ans: Simple  Telephone  Communication: In the simplest form of

What are the different types of distributing frames, Q. What are the differ...

Q. What are the different types of distributing frames used in exchanges? Ans: Different distribution  frames  used  in  exchange  are  displayed in  figure.  Each subscribe

Bjt, bias compensation using diode and thermistor

bias compensation using diode and thermistor

General, a single phase 120 volts, 60hertz supply is connected to a coil of...

a single phase 120 volts, 60hertz supply is connected to a coil of 200 turns wound round a toroidal magnetic core with a mean length 100cm and cross section 20cm square &relative p

Magnetic permeability and the b/h curve, Magnetic permeability and the B/H ...

Magnetic permeability and the B/H curve To measure the relationship between field strength H and flux density B for a material, a sample is made into a closed ring and a magne

Oscilloscope probe compensation, Q.   what is oscilloscope probe compensati...

Q.   what is oscilloscope probe compensation and how is it adjusted?  What effects are noted when the compensation is not correctly adjustment? Direct Probe: This probe  is

Describe the term pure hardware delay, Question: (a) Describe the term...

Question: (a) Describe the term "Pure Hardware Delay" in microcontroller design. (b) Name the three types of subroutines which are placed at the interrupt location in ROM a

Introduction to electronics, Explain the difference between a microprocesso...

Explain the difference between a microprocessor and an embedded microcontroller

How can a jfet be used as a constant current source, Q. How can a JFET be u...

Q. How can a JFET be used as a constant current source? Explain from the drain characteristics. As the VDS voltage is increased from 0 to a few volts, the current will increase

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