News:

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

Main Menu

@repeat/@until macros

Started by HSE, July 08, 2023, 06:52:12 AM

Previous topic - Next topic

HSE

Hi all!

Some new macro for flow control that work with ML64 and the others.

What is new is the @until macro, because @repeat is just @dothis.


    mov rax, 5
    mov value1, rax
    @repeat
        conout str$(rax),lf
       
        mov rax, value1
        sub rax, 1
        mov value1, rax
    @until rax le 0


Also there is a new modification of original conditions evaluations: now is only a set for all flow controls (@if/@endif, @while/@endw, @dothis/@whilethis and @repeat/@until).

All flow controls are in the .zip. SmplMath is needed only for floating point comparisons.

Regards, HSE.
Equations in Assembly: SmplMath

Biterider

Hi HSE
Thanks for the mew macros  :thumbsup:
I tested the binaries and they work well.


Biterider

HSE

Equations in Assembly: SmplMath