Hallo,
I want to write 2 macros: in the first one a %if-block should start and with the other one this block should be close, i.e.
%macro inn 1
%ifdef %1
%endmacro
%macro outt 1
%endif
%endmacro
inn helpppp
mov ax,1
outt
This should be result "mov ax,1" the case that helpppp is defined. The %ifdef has to be hided from the macro so that it won't be expanded when the macro is expanded.
Is it possible to do anything like that with the nasm-preprocessor? If so, how???
Thanks a lot!