Is there a limitation of 15 parameters allowed by NASM when
invoking a MACRO ?
NASM crashes during compile with this code :
%macro testmacro 16
%rep %0
mov eax,dword [%1]
%rotate 1
%endrep
%endmacro
;----------------------------
[section .text]
testmacro var,var,var,var,var,var,var,var,\
var,var,var,var,var,var,var,var
;---------------------------
[section .data]
var dd 4
It works up to and including 15 parameters but I can't find any
mention of a limiting number of parameters in the NASM docs.
If the macro is NOT called then NASM doesn't throw any error msgs.
The crash happens when it tries to expand the code.
Thanks in advance for any help
Austin