Reputation: 3015
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 ?
Upvotes: 1
Views: 478
Reputation: 3015
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
Upvotes: 2