1 ; 7zAsm.asm -- ASM macros
2 ; 2018-02-03 : Igor Pavlov : Public domain
10 _TEXT
$00 SEGMENT PARA
PUBLIC 'CODE'
14 MY_PROC
macro name:req
, numParams:req
16 proc_numParams
= numParams
20 proc_name
equ @CatStr(@
,name,@
, %numParams
* 4)
29 if proc_numParams
LT 3
32 ret (proc_numParams
- 2) * 4
130 MY_PUSH_PRESERVED_REGS
macro
139 MY_POP_PRESERVED_REGS
macro