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

"The government is auctioning off oil leases at two sites: 1 and 2. At each site, 100,000 acres of land are to be auctioned. Cliff Ewing, Blake Barnes, and Alexis Pickens are biddi

Search strategies are evaluated along four main dimensions. Name those dimensions and briefly describe each one

write algotithm and flow chart for largest of 3 numbers

ENTERPRISE RESOURCE PLANNING What has football got to do with it? asks management guru Michael Hammer in his latest best seller Beyond Reengineering. The answer is almos

Digital Video Disks: DVD stands for Digital Video Disks or Digital Versatile Disks. A DVD stores much more data than a CD-ROM. Its capacities are 4.7GB, 8.5GB, and 20GB etc. T

Bidirectional Search-Artificial intelligence: We've concentrated so far on searches where the point of the search is to search a solution, not the path to the solution. In anot

Question 1: a) A distinction is often made between computer architecture and computer organisation. Describe, using examples, the meaning of computer architecture. b) Name

TELECOMMUNICATION PROTOCOLS: The two major components relating to a WAN are the Protocol and the Media. The media are the actual path ways that the protocol travels on. The ne

Question 1 Explain the important concepts of modern CPU Question 2 Discuss the instructions that need to follow while installing new mother board Question 3 Explai