cmake/Tests/VSNASM/foo.asm

12 lines
217 B
NASM
Raw Normal View History

2023-05-23 16:38:00 +02:00
%ifndef DEF_FOO
%error "DEF_FOO incorrectly not defined"
%endif
2017-07-20 19:35:53 +02:00
section .text
%ifdef TEST2x64
global foo
%else
global _foo
%endif
2023-05-23 16:38:00 +02:00
;TASM compatibility mode allows 'include' instead of '%include'
include "foo-proc.asm"