what is the definition of macro?, Basic Computer Science

Assignment Help:
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.

Related Discussions:- what is the definition of macro?

Database management, Suppose you are designing a database for an art museum...

Suppose you are designing a database for an art museum that owns a large volume of works of art. Each work of art is described by a unique item code, a title, a type, and a size. T

Explain initial dynamic model with example, Question 1 Explain initial dyn...

Question 1 Explain initial dynamic model with example Question 2 Discuss the importance of object orientation during system development Question 3 Distinguish between Ob

Memory management, Memory Management: The purpose of the memory mana...

Memory Management: The purpose of the memory management system is to load programs into memory in such a way as to give each program loaded  the memory that it requires for

Describe counting instructions, They are used to reduce or enlarge the cont...

They are used to reduce or enlarge the content of the counters. DEC INC DEC INSTRUCTION Idea: To diminish the operator. Syntax: DEC destiny This action subtracts 1 from the destiny

Image processing, Image Processing: This technology is quite advanced ...

Image Processing: This technology is quite advanced and devices are now available for routine scanning and storage of printed pages, graphics, etc., which can then be retrieve

Algorithm, What are the characteristics of algorithm?

What are the characteristics of algorithm?

Global positioning system, How does GPS work in the field of Sport or athle...

How does GPS work in the field of Sport or athletics?

What is Assembly Language?, Assembly language is fundamentally the local la...

Assembly language is fundamentally the local language of your computer. In principle the processor of your machine understands machine code (consisting of ones and zeroes). But wit

Definition of assembler structure, In assembly language code lines have t...

In assembly language code lines have two fractions, the earliest one is the name of the instruction which is to be executed, and the next one are the parameters of the command. For

Definition of ALU , The ALU, or the arithmetic and logic unit is the part...

The ALU, or the arithmetic and logic unit is the part of the processor that is occupied with executing operations of an arithmetic or logical nature. It works in conjunction by mea

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