Re: A89: macros vs. subroutines


[Prev][Next][Index][Thread]

Re: A89: macros vs. subroutines




when you use a subroutine the processor jumps to the location of the subroutine
and then jumps back.. when you use a macro, the assembler is copying that
macrocode to every place you use it before assembly, so you get the same piece
of code at every spot you use the macro..
macros are a feature in the assembler, not the processor...

//Olle

S43R80@aol.com wrote:
> 
> What is/are the differences between using macros or subroutines...don't they
> do the exact same thing???


Follow-Ups: References: