Each toolbox of macros has a theme e.g. console macros or printer macros. Refer to your toolboxes of macros in any program you later create. Each macro should perform only one function. Each macro has only one entry point and one exit point. One macro definition cannot contain another macro definition.
Parameters can be registers, memory addresses, or values.
Macros are generally defined at the beginning of a program or in a separate file. This example doesn't appear to be a great tradeoff. The original program is shorter than the one with the macro. But if you put the macro in a library it would simplify the start of the calling program. It is a useful tool to install in your toolbox.