Debian Codegraph @

travis/test/ifid.asm

raw
1 ; BR 3392715: Test proper operation of %ifid with $ and $$
2 ; This produces a human-readable file when compiled with -f bin
3
4 %define LF 10
5
6 %macro ifid 2
7 %ifid %1
8 %define %%is 'true'
9 %else
10 %define %%is 'false'
11 %endif
12 %defstr %%what %1
13 %defstr %%should %2
14 db '%ifid ', %%what, ' = ', %%is, ' (expect ', %%should, ')', LF
15 %endmacro
16
17 ifid hello, true
18 ifid $, false
19 ifid $$, false