answersLogoWhite

0


Best Answer

The macro facility presented thus far capable of inserting blocks of instruction in place of macro calls. All of the calls to any given macro will be replaced by identical blocks. This macro facility lacks flexibility: there is no way for a specific macro call to modify the coding that replaces it. An important extension of this facility consists of providing for arguments, or parameters, in macro calls.

Corresponding macro dummy arguments will appear in macro definitions.

.

.

.

A 1, DATA 1

A 2, DATA 2

A 3, DATA 3

.

.

.

A 1, DATA 2

A 2, DATA 2

A 3, DATA 2

.

.

.

DATA 1 DC F '5'

DATA 1 DC F '10'

In this case the sequence are very similar but not identical. The first sequence performs an operation using DATA1 as operand; the second perform using DATA2. They can be considered to perform the same operation with a variable parameter or argument. Such a parameter is called a macro instruction argument, or dummy argument. It specified on the macro name line and distinguish by the ampersand which always its first character

User Avatar

Antonia Bins

Lvl 10
2y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a macro instruction?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

An instruction in a programming language that is replaced by a sequence of instructions prior to assembling or compiling is?

Macro


What is macro invertebrates?

Macro-invertebrates are animals that are big enough to see with the naked eye, and that do not have a backbone.


What is a macro-instruction?

The macro facility presented thus far capable of inserting blocks of instruction in place of macro calls. All of the calls to any given macro will be replaced by identical blocks. This macro facility lacks flexibility: there is no way for a specific macro call to modify the coding that replaces it. An important extension of this facility consists of providing for arguments, or parameters, in macro calls. Corresponding macro dummy arguments will appear in macro definitions. . . . A 1, DATA 1 A 2, DATA 2 A 3, DATA 3 . . . A 1, DATA 2 A 2, DATA 2 A 3, DATA 2 . . . DATA 1 DC F '5' DATA 1 DC F '10' In this case the sequence are very similar but not identical. The first sequence performs an operation using DATA1 as operand; the second perform using DATA2. They can be considered to perform the same operation with a variable parameter or argument. Such a parameter is called a macro instruction argument, or dummy argument. It specified on the macro name line and distinguish by the ampersand which always its first character


What is a macro instruction argument?

The macro facility presented thus far capable of inserting blocks of instruction in place of macro calls. All of the calls to any given macro will be replaced by identical blocks. This macro facility lacks flexibility: there is no way for a specific macro call to modify the coding that replaces it. An important extension of this facility consists of providing for arguments, or parameters, in macro calls. Corresponding macro dummy arguments will appear in macro definitions. . . . A 1, DATA 1 A 2, DATA 2 A 3, DATA 3 . . . A 1, DATA 2 A 2, DATA 2 A 3, DATA 2 . . . DATA 1 DC F '5' DATA 1 DC F '10' In this case the sequence are very similar but not identical. The first sequence performs an operation using DATA1 as operand; the second perform using DATA2. They can be considered to perform the same operation with a variable parameter or argument. Such a parameter is called a macro instruction argument, or dummy argument. It specified on the macro name line and distinguish by the ampersand which always its first character


What is macro processor and explain features of macro facility?

features:-conditional macro expansionconcatenation of macro parametersgeneration of unique labelsmacro instruction argumentsexpansion time variablesexpansion time loops


What is the relationship between instruction and micro operation?

1 macro can be defined as a cycle involve numbers of small steps to execute or to perform a task this small step is known as micro-opration micro is part of instruction 2.instruction is task performed by micro opration


Difference between procedures and macros in 8086?

1.procedure does occuie minimum memory space than macro.2..overhead delay in macro is absent..3.in macro machine code is generated for instructions each time when it is called but in procedure machine code for instruction is put only once in the memory..4.proc is accessed by call and set instr ..macro is accessed with the name given..


What is the difference between micro operation and macro operation?

Micro operation is the level 2 operation, it is excute directly from hardware. Mainly used in provide macro instruction. Macro operation is the level more than 2 (3,4) operation, depend on your CPU structure. Sometime, we call its assembly operation. It is excute by micro operation.


What is the difference between executing a macro and calling a macro?

Calling a macro loads the macro into memory, while executing the macro runs the macro.


What is macro call?

Nested macro calls refer to the macro calls within the macros. A macros is available within other macro definitions also. In the scenario when a macro call occurs, which contains another macro call, the macro processor generates the nested macro definition as text and places it on the input stack. The definition of the macro is then scanned and the macro processor complies it.


What is nested macro calls?

Nested macro calls refer to the macro calls within the macros. A macros is available within other macro definitions also. In the scenario when a macro call occurs, which contains another macro call, the macro processor generates the nested macro definition as text and places it on the input stack. The definition of the macro is then scanned and the macro processor complies it.


What is enclosed between a macro header statement and a macro end statement?

The macro content.