News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Macro compare to -1

Started by Ficko, December 29, 2012, 04:40:34 AM

Previous topic - Next topic

Ficko

Hi!
Is there a better - "more elegant" - way to decide a macro parameter is (-1) than:  ::)


Pilot MACRO M1, M2
IF (M2 EQ -1) OR (M2 EQ 0FFFFFFFFh)
%ECHO DEBUG
ENDIF
ENDM

qWord

MREAL macros - when you need floating point arithmetic while assembling!

Ficko


dedndave


Ficko