mirror of https://github.com/yasm/yasm.git
parent
314085475c
commit
716884b0bb
6 changed files with 56 additions and 4 deletions
@ -0,0 +1,13 @@ |
||||
%ifdef foo |
||||
mov ax, foo |
||||
%endif |
||||
%ifdef bar |
||||
mov ax, bar |
||||
%endif |
||||
%define foo 5 |
||||
%ifdef foo |
||||
mov ax, foo |
||||
%endif |
||||
%ifdef bar |
||||
mov ax, bar |
||||
%endif |
@ -0,0 +1,10 @@ |
||||
|
||||
%line 3+1 ./src/preprocs/yapp/tests/ifdef.asm |
||||
|
||||
%line 6+1 ./src/preprocs/yapp/tests/ifdef.asm |
||||
|
||||
|
||||
mov ax, 5 |
||||
|
||||
|
||||
%line 13+1 ./src/preprocs/yapp/tests/ifdef.asm |
@ -0,0 +1,13 @@ |
||||
%ifdef foo |
||||
mov ax, foo |
||||
%endif |
||||
%ifdef bar |
||||
mov ax, bar |
||||
%endif |
||||
%define foo 5 |
||||
%ifdef foo |
||||
mov ax, foo |
||||
%endif |
||||
%ifdef bar |
||||
mov ax, bar |
||||
%endif |
@ -0,0 +1,10 @@ |
||||
|
||||
%line 3+1 ./src/preprocs/yapp/tests/ifdef.asm |
||||
|
||||
%line 6+1 ./src/preprocs/yapp/tests/ifdef.asm |
||||
|
||||
|
||||
mov ax, 5 |
||||
|
||||
|
||||
%line 13+1 ./src/preprocs/yapp/tests/ifdef.asm |
Loading…
Reference in new issue