flat assembler
Message board for the users of flat assembler.

Index > Main > Video demonstration of fasm 2

Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 12 Mar 2024, 14:00
Today I recorded a video demonstrating the newest fasm2 package:
https://youtu.be/BA0LZx2JYRM

Even if it's released years too late to be of much use to anyone, at least I'm having fun. I hope to show more during the live sessions in the upcoming weeks! Smile

Small correction: I said that fasm turns 25 this week, but it actually happens next week (on March 23rd). Perhaps I published the video too early. Wink
Post 12 Mar 2024, 14:00
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1848
Roman 12 Mar 2024, 21:08
What is main features in fasm 2 ?
And why we should using fasm 2?

Because exist fasmg.
But I am, not using fasmg.
One of reason I have many macros and function and I not want rewrite all this to fasmg.
Life is short Smile
Post 12 Mar 2024, 21:08
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 12 Mar 2024, 21:36
If you wanted a full story, you could start by taking a look at my presentation of ideas for fasm 2 from fasmcon 2009. I believe all of the goals I outlined back then have been fulfilled, and in fact you could take snippets of theoretical code I presented then, and they would assemble correctly with fasm2 now.

But fasm 2 as it is now is in fact just fasmg with some additional clothing.

It therefore has all the features that fasmg has, including preprocessor incorporated into assembly stage (allowing macros to access the assembly-time data, and also things like forward-referenced macros), unbounded precision for integer arithmetic, floating point calculations, customizable variables for linear polynomial addresses that allow to manually construct relocatable output formats, CALM for powerful pre- and post-processing, and so on.

And the fasm2 header set not only implements x86 instructions and output formats compatible with fasm, but also adds several new features, like Mach-O output, USE command to restrict available instruction sets, instruction decorators to fine-tune encoding options, listing generator that you can just include into your project, inline macros, and more. Many of these features were only possible thanks to fasmg engine.

You can find some examples in the thread with my initial announcement. I also hope to show more in the future.
Post 12 Mar 2024, 21:36
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1848
Roman 13 Mar 2024, 06:00
Quote:

listing generator that you can just include into your project

What is mean?
Please show small example, how using listing generator.
Post 13 Mar 2024, 06:00
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 13 Mar 2024, 07:00
Roman wrote:
Quote:

listing generator that you can just include into your project

What is mean?
Please show small example, how using listing generator.
I left this for another video, to not make the first one too long. But I also described a quick demonstration here, and TetrOS example in fasm2 package has listing already included by default.
Post 13 Mar 2024, 07:00
View user's profile Send private message Visit poster's website Reply with quote
Hrstka



Joined: 05 May 2008
Posts: 61
Location: Czech republic
Hrstka 23 Mar 2024, 16:47
Quote:
I said that fasm turns 25 this week, but it actually happens next week (on March 23rd).
Happy anniversary, fasm. Best wishes to the next 25 years Very Happy
Post 23 Mar 2024, 16:47
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.