Hi Biterider,
I think the solution is a variable @Arch. Here is how to use it in compile time (it is from UASM Extended Guide):
2.15) NEW LANGUAGE TYPES
Procedures can now be decorated with attribute SYSTEMV to generate a 64bit SystemV ABI call.
For example:
OPTION ARCH:SSE
nixproc PROC SYSTEMV FRAME USES rbx xmm0 arg1:qword, arg2:DWORD, arg3:REAL4
mov rbx,arg1
mov ecx,arg2
IF @Arch EQ 0
movss xmm10,arg3
ELSE
vmovss xmm10,arg3
ENDIF
ret
nixproc ENDP
OPTION ARCH:AVX