flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
macomics 23 Mar 2023, 06:13
Code: macro t a, b { match =[x=], b \{ if a eq x display "1" else display "2" end if \} } t eax, [eax] t eax, [ecx] Code: flat assembler version 1.73.30 (1024 kilobytes memory) 12 1 passes, 0 bytes. |
|||
![]() |
|
Roman 23 Mar 2023, 07:08
Thanks. Work.
How macro say check [] or & or () Or {}? Choice for macro variant. Or only way is writed in macro all matchs for symbols [] and {} and & and ()? |
|||
![]() |
|
revolution 23 Mar 2023, 09:03
eq works fine also.
Code: macro tst a, b { if [a] eq b display `a,13,10 end if } tst eax,[eax] tst ebx,[eax] tst bx,[bx] |
|||
![]() |
|
Roman 23 Mar 2023, 09:52
If not work
Code: If (eax) eq (eax) ;fasm error match = (x=), b {if a eq x};ok no error |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.