what is the definition of macro?, Basic Computer Science

Definition of the macro
A macro is a collection of repetitive instructions in a program which are codified only one time and can be used as many times as required. The major difference between a macro and a procedure is that in the macro the passage of parameters is possible and in the process it is not, this is only applicable for the TASM - there are some other programming languages which do allow it. At the instant the macro is executed each parameter is alternated by the name or value individual at the time of the call.
We can say then that a procedure is an addition of a determined program, while the macro is a module with particular functions which can be used by different programs. One more difference between a macro and a procedure is the method of calling each one, to call a procedure the use of a directive is required, conversely the call of macros is done as if it were an assembler instruction.
Posted Date: 5/4/2012 8:13:21 AM | Location : United States







Related Discussions:- what is the definition of macro?, Assignment Help, Ask Question on what is the definition of macro?, Get Answer, Expert's Help, what is the definition of macro? Discussions

Write discussion on what is the definition of macro?
Your posts are moderated
Related Questions
Question 1 Explain in detail the different modes of Transportation Question 2 State the meaning of Distribution Strategies. Discuss the different Distribution Strategies

Problem 1 Explain the different categories of electronic payment system in detail Listing the types and sub types Explanation Problem 2 We know that there a

QUESTION (a) Define z-transform of sequence x[n]. (b) A causal LTI system has impulse response h[n], for which the z-transform is                     H(z) = (1+z -1

In this technique, the kernel knows about and handles the threads. No runtime system is required in this case. In place of thread table in each process, the kernel has a thread tab

how we come to know about primary key,if more than ids gather?

Computers One of the most  important invention in the design of digital  circuits  is that  of the general- purpose "stored program" computer or device. Computers are a partic

write advantages and disadvantages of private and public network

Algorithm : Once a problem has been defined precisely, a procedure or process must be designed to produce the required output from the given input. Since a computer is a machine t

#questionConsider the one-time pad encryption scheme to encrypt a 1-bit message m, and assume m is chosen with uniform distribution from message space M={0,1}. Let E1 be the event

My son has a project assignment he has problem with. The only thing is, it is due in 20 mins. can someone be able to help him? if so, how much is the fee?