Explain macro definition and call, Computer Engineering

Assignment Help:

Explain Macro definition and call.

Macro: The assembly language programming frequently finds this necessary to repeat certain piece of code several times during the course of program. In such situations we get macro facility helpful. Whole process contains three steps:

a. Macro definition instruction

b. Macro call

c. Macro expansion

A macro definition is enclosed between a macro end statement and a macro header statement. Macro definitions are classically located at the start of a program. This contains:

a. A macro prototype statement

b. One or more model statements

c. Macro preprocessor

A macro call is called through writing the macro name into the mnemonics field of an assembly statement. Hence the syntax for the same:

< macro name >[< actual parameter spec >[,..]]

A macro call leads to macro expansion, throughout macro call expansion the macro call statement is replaced through the sequence of assembly statements.


Related Discussions:- Explain macro definition and call

Every sheet in a workbook in excel, Is there a way to apply the same format...

Is there a way to apply the same formatting to every  sheet in a workbook in Excel? Ans)  Yes. To do this, you will require to right click on one of the worksheet tabs and th

Assembly language programming, write an assembly language program for fibon...

write an assembly language program for fibonacci series?

What are the simplest way to restrict the users, What are the simplest way ...

What are the simplest way to restrict the users The simplest way to restrict the users to peek inside the internals of the Web site is to use firewalls, where the information c

What is an "on input filed" statements, What is an "on input filed" stateme...

What is an "on input filed" statements? ON INPUT The ABAP/4 module is known as only if a field having the Value other than the initial Value. This initial Value is explain

Input a list of positive numbers, Input a list of positive numbers, termina...

Input a list of positive numbers, terminated by 0, into an array Numbers. Then display the array and the largest and smallest number in it.

Explain shared memory system and tightly coupled system, Shared Memory Syst...

Shared Memory System / Tightly Coupled System Shared memory multiprocessors have the subsequent features: For real-time high-speed processing these systems are preferabl

Explain scientific applications and image processing, Scientific Applicatio...

Scientific Applications/Image processing Major of concurrent processing applications from science and other academic disciplines, are mostly have based on numerical simulations

What are different adder circuits you studied, Half Adder (for addition of ...

Half Adder (for addition of two bits) Full Adder (for addition of three bits) Carry look ahead adder Carry save adder Carry propagate adder

What is a pre-processor, What is a pre-processor? A pre-processor is a ...

What is a pre-processor? A pre-processor is a program that procedure the source code before it passes by the compiler. It handles under the control of pre-processor directive.

Computer graphics, list out of merit and de-merit plasma display

list out of merit and de-merit plasma display

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