Some important facts about macros and procedures:
When you want to use a procedure you should use CALL instruction, for example:
CALL MyProc
When you want to use a macro, you can just type its name. For example:
MyMacro
Procedure is located at some specific address in memory, and if you use the same procedure 100 times, the CPU will transfer control to this part of the memory. The control will be returned back to the program by RET instruction. The stack is used to keep the return address. The CALL instruction takes about 3 bytes, so the size of the output executable file grows very insignificantly, no matter how many time the procedure is used.
Macro is expanded directly in program's code. So if you use the same macro 100 times, the compiler expands the macro 100 times, making the output executable file larger and larger, each time all instructions of a macro are inserted.
You should use stack or any general purpose registers to pass parameters to procedure.
To pass parameters to macro, you can just type them after the macro name. For example:
MyMacro 1, 2, 3
To mark the end of the macro ENDM directive is enough.
To mark the end of the procedure, you should type the name of the procedure before the ENDP directive