Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9544895

Have any Question?


Related Questions in Computer Engineering

Strings in cstrings manipulationwrite one main code with

Strings in C++ Strings manipulation Write one main code with the following functions. Toggle Write a function called toggle() that accepts a string, and an integer. The function checks whether the character at the positi ...

Social sitessocial media is a common marketing tool and

Social Sites Social media is a common marketing tool and most site builders offer integration with major social media sites. Discuss at least two examples of what you would promote on social media from a web site that yo ...

Fifteen batteries are tested to determine whether the

Fifteen batteries are tested to determine whether the battery life is as long as advertised. Four batteries fail the test. From all fifteen batteries, two are selected at random without replacement. Find the probability ...

How does understanding various microsoft office

How does understanding various Microsoft Office applications enhance productivity in education, the workplace, and at home?

Question suppose that the head of a disk with 256 tracks

Question : Suppose that the head of a disk with 256 tracks, numbered 0 to 255, is currently serving a request at track 58. The previously served request was at a lower-numbered track (i.e., the head is currently moving f ...

Suppose you want to represent graphs where the number of

Suppose you want to represent graphs where the number of nodes is unknown in advance, and the nodes IDs are arbitrary (not contiguous). You want the following operations to be performed efficiently: Add a node. Remove a ...

Search the web for two or more sites that discuss the

Search the web for two or more sites that discuss the ongoing responsibilities of security manager. What other components of security management, as outlined by this model, can be adapted for use in the security manageme ...

Scenario when i lived in milton vermont i owned a house out

Scenario: When I lived in Milton, Vermont, I owned a house out by the Sand Bar off Rt. 2 that was situated on a triangular lot. According to the deed, this lot measured 300 feet of road frontage (side A or "base"), by 50 ...

Question using a web browser perform some research on a

Question: Using a Web browser, perform some research on a newer malware variant that has been reported by a major malware containment vendor. Using a search engine, go to the vendor's Web site; this could be Symantec, Mc ...

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As