News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Latest macro and help files update August 8.

Started by hutch--, August 08, 2018, 12:12:38 PM

Previous topic - Next topic

hutch--

Recent additions are two extra "if" notation techniques, both able to handle memory operands and designed for higher level code. A new technique for preserving and restoring registers has also been added to make preserving 64 bit registers easy and reliable. The files included in the attached ZIP file are,

    macros64.inc
    MasmHelp.exe
    vasily.inc


New .If block.

    .If var1 eq var2
      conout "Variables are equal",lf
    .ElseIf var1 gt var2
      conout "Variable 1 is greater than variable 2",lf
    .Else
      conout "Nothing to do here",lf
    .EndIf


New single line .IF

.IF var1 eq var2 GOTO label


New register preservation technique

USING r12, r13, r14, r15
......
SaveRegs
; your code
RestoreRegs
ret