flat assembler
Message board for the users of flat assembler.

Index > Windows > How to Use fasmg for x64 on Windows - Use fasm2?

Author
Thread Post new topic Reply to topic
Greg_M



Joined: 07 Jun 2025
Posts: 36
Greg_M 07 Jun 2025, 18:06
I'm new to FASM.

This topic refers to using fasmg:
https://board.flatassembler.net/topic.php?t=20939

In order to use fasmg for Microsoft Windows x64, is fasmg or fasm2 the correct tool? (I do understand that fasmg is not CPU-specific.)

Thank You
Post 07 Jun 2025, 18:06
View user's profile Send private message Reply with quote
Jessé



Joined: 03 May 2025
Posts: 53
Jessé 07 Jun 2025, 19:31
Both are the same tool, difference is the headers included. But fasm2 has a better maintained set of headers specific for x86-64. The fasmg also has x86-64, but it is bundled as an example for x86 architecture. If you are in doubt, do as I did: install both and use included headers to study and learn the fasmg language.
Post 07 Jun 2025, 19:31
View user's profile Send private message Reply with quote
Greg_M



Joined: 07 Jun 2025
Posts: 36
Greg_M 07 Jun 2025, 21:58
Thank you. I'm gathering that one who seeks full-fledged OOB capabilities but also seeks knowledge and customization ability etc. would use fasmg, and use fasm2 as a reference from which to create their own fasmg config based on their focus. E.g. If not migrating from fasm1, one might not need certain aspects of fasm2.

I'm also interested in future potential support for ARM64 and fasmg appears intended for such expansion.

Interesting aside:
https://learn.microsoft.com/en-us/windows/arm/apps-on-arm-x86-emulation#how-emulation-works
Post 07 Jun 2025, 21:58
View user's profile Send private message Reply with quote
Serke



Joined: 26 Aug 2006
Posts: 7
Serke 08 Jun 2025, 04:20
Like Jessé said, fasm2 is just fasmg with a different set of headers. If you choose not to include these headers in your code, your experience will be exactly the same as if you were using plain vanilla fasmg.
Post 08 Jun 2025, 04:20
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.