answersLogoWhite

0


Best Answer

marco expand where it invoked ,subroutine will go where the subroutine is defined....

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is main difference between macro and subroutins?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Main difference between classical macro-economics and neo-classical thoughts?

what is diff b/w the classical economist and keynes economist


What is the difference between polyethylene and polyester?

what is the main difference between polyethylene and polyesters what is the main difference between polyethylene and polyesters


What is the main difference between egalitarian and ranked societies?

The main difference between egalitarian and ranked societies is that in the latter


What is the main difference between animation and simulation?

There is no difference.


What is the main difference between compaction and consolidation?

difference between campaction and consolition


What are the main difference between communicating with adults and children?

what are the main difference between communicating with adults and communicating with children


The main difference between amino acids is there?

What? Speak proper english, please. The main difference between amino acids and what?


What is the main difference between Kenya and Egypt?

there is one hour difference


What is the main difference between V and IV as cadence chords?

Whats the main difference between V and IV as cadence chords?


What is the difference between applied research and action research?

Applied research focuses on solving practical problems through the application of existing knowledge and theories, while action research involves engaging stakeholders in identifying issues, taking action, and reflecting on the outcomes to drive change and improvement. Action research is more collaborative, participatory, and iterative compared to applied research.


Difference between a macro and a stored procedure?

A macro is a group of repetitive instructions in a program which are codified only once and can be used as many timesas necessary.The main difference between a macro and a procedure is that in the macro the passage of parameters is possible and in theprocedure it is not, this is only applicable for the MASM - there are other programming languages which do allow it.At the moment the macro is executed each parameter is substituted by the name or value specified at the time of the call.We can say then that a procedure is an extension of a determined program, while the macro is a module with specificfunctions which can be used by different programs.Another difference between a macro and a procedure is the way of calling each one, to call a procedure the use of adirective is required, on the other hand the call of macrosis done as if it were an assembler instruction.Example of procedure:For example, if we want a routine which adds two bytes stored in AH and AL each one, and keep the addition in the BX register:Adding Proc Near ; Declaration of the procedureMov Bx, 0 ; Content of the procedureMov B1, AhMov Ah, 00Add Bx, AxRet ; Return directiveAdd Endp ; End of procedure declarationand an example of Macro:Position MACRO Row, ColumnPUSH AXPUSH BXPUSH DXMOV AH, 02HMOV DH, RowMOV DL, ColumnMOV BH, 0INT 10HPOP DXPOP BXPOP AXENDM


What was the main difference between dove and hawks regarding us presence in in Vietnam?

what was the main difference between doves and hawks regarding the US presence in Vietnam