unfortunately not, defining new functions is not possible. Macros could be used only in place of instructions, ie:
Код:macro macroname instruction?, value? instruction? value? endm ; usage macroname <ld de,>, 8084h ; will produce "ld de,8084h" macroname defw, 80A0h ; will produce "defw 80A0h"





Ответить с цитированием