CALL: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
===Example=== | ===Example=== | ||
:CALL "line.mac" r1, q7, tt | :CALL "line.mac" r1, q7, tt | ||
:For an example in a real macro see [[Modify_op_path]] | |||
[[Category:Language]] | [[Category:Language]] |
Revision as of 18:07, 27 July 2010
Command
- Use a different macro inside a macro.
Parameters
- <macro name>
- Name of the macro file, must be in double quotes.
- [<arg 1>]
- A value to be passed to another macro, or a variable to receive a value passed back from the macro that is called.
- [<arg 2>]
- A value to be passed to another macro, or a variable to receive a value passed back from the macro that is called.
- [<arg 3>]
- A value to be passed to another macro, or a variable to receive a value passed back from the macro that is called.
- You can use between zero and 10 arguments.
Example
- CALL "line.mac" r1, q7, tt
- For an example in a real macro see Modify_op_path