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

Interrupt structure of the 8085 microprocessor, List the four instructions ...

List the four instructions which control the interrupt structure of the 8085 microprocessor. DI ( Disable Interrupts ) EI ( Enable Interrupts ) RIM ( Read Interrupt Masks

A.c. machines-the single phase alternator, The single phase alternator ...

The single phase alternator   The underlined italicised terms in the following text identifies terms that you should understand and remember. The simple two pole generator

Input bias current of operational amplifier, Q. Input bias current of opera...

Q. Input bias current of operational amplifier? When operated at extremely low quiescent current values, the base bias currents will be low; but they do have to be taken into c

What is txd, What is TXD? TXD- Transmitter Data Output This output p...

What is TXD? TXD- Transmitter Data Output This output pin carries serial stream of the transmitted data bits by with other information like start bit, stop bits and priority

Evaluate the current flowing in the direction from b to a, Q. A beam contai...

Q. A beam containing two types of charged particles is moving from A to B. Particles of type I with charge +3q, and those of type II with charge -2q (where -q is the charge of an e

Electronics, why inductive load is use in electronics circuit?

why inductive load is use in electronics circuit?

Develop and execute a program to analyze the circuit, Develop and execute a...

Develop and execute a program to analyze the circuit shown in Figure (a), and use PROBE for plotting v C (t).

Find out control voltage, Consider the network shown in Figure containing a...

Consider the network shown in Figure containing a voltage-controlled source producing the controlled current i c = gv, where g is a constant with units of conductance, and the con

Determine currents in the circuits, Determine currents in the circuits: ...

Determine currents in the circuits: Determine currents I 1 and I 2 in the given circuits by applying KVL. Solution We apply KVL for first loop : 10 = 1 I 1   + 1

What is polyphase induction machine performance, Q. What is Polyphase Induc...

Q. What is Polyphase Induction Machine Performance? Some of the important steady-state performance characteristics of a polyphase induction motor include the variation of curre

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