flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 03 May 2023, 07:28
To compare something to a quoted string, make it into such string, too:
Code: if `type eq 'byte' size = 1 else if `type eq 'word' size = 2 else if `type eq 'dword' size = 3 else if `type eq 'qword' size = 4 else err 'invalid address prefix' end if Code: match type [mem_addr], type_mem match =byte, type size = 1 else match =word, type size = 2 else match =dword, type size = 3 else match =qword, type size = 4 else err 'invalid address prefix' end match address=mem_addr end match |
|||
![]() |
|
alorent 03 May 2023, 09:01
Excellent Tomasz! This is better support than even big companies!
![]() Thanks a lot! |
|||
![]() |
|
FlierMate2 03 May 2023, 13:08
alorent wrote: This is better support than even big companies! I agree 100%, Tomasz as maintainer for FASM and FASMG for over 20 years! And Tomasz and revolution always stand by on forum and on Discord server, giving prompt reply with answer. |
|||
![]() |
|
revolution 03 May 2023, 13:13
I am not on any Discord server. If there is someone there named revolution then it isn't me.
|
|||
![]() |
|
FlierMate2 03 May 2023, 13:22
revolution wrote: I am not on any Discord server. If there is someone there named revolution then it isn't me. Oh I see! Thanks for your correction. I thought "StaticSaga" is you. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.