flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > How get symbols == or +=?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1701
Roman 10 Feb 2024, 10:31
Fasmw 1.73
Match not see =+=

Or using if ?
if b eq "+="
display "+="
end if

Code:
Macro ops a, b, c {
Match = +=, b \{ display "+=" \} 

} 
Val1 dd 5
Val2 dd 7
ops Val1, +=, Val2
ops Val1, ==, Val2
ops Val1, *=, Val2
ops Val1, /=, Val2
    
Post 10 Feb 2024, 10:31
View user's profile Send private message Reply with quote
Overclick



Joined: 11 Jul 2020
Posts: 658
Location: Ukraine
Overclick 10 Feb 2024, 13:17
Code:
 Match =+==, b \{ display "+=" \}     
Post 10 Feb 2024, 13:17
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.