jwasm/Regress/EXPANS14.ASM
2014-06-18 19:16:56 +04:00

22 lines
262 B
NASM

;--- test expansion and ! operator
.386
.model flat, stdcall
.data
TE1 textequ <!<>,<bx,ax,>
;% echo TE1
TE1 substr TE1,1,@SizeStr(%TE1)-1
;% echo TE1
TE1 catstr TE1,<!>>
;% echo TE1
ifidn TE1,<!<bx,ax!>>
db 1
else
db 0
endif
end