How to do conditional compilation with TASM?

447 views Asked by At

I'd like how to pass arguments when compiling a TASM program in order to compile section of the code optionally, that would be the equivalent of #ifdef with the -D argument in C. How can I do that with TASM ?

1

There are 1 answers

2
franck On BEST ANSWER

The /d option defines a symbol for your source file, exactly as if it were defined on the first line of your file with the =directive. You can use this option as many times as you wanf on the command line.

Thanks for the input @Ped7g