flat assembler
Message board for the users of flat assembler.

Index > Main > Why calm instructions?

Author
Thread Post new topic Reply to topic
ttd3v



Joined: 17 Sep 2026
Posts: 44
ttd3v 22 Sep 2026, 23:06
I read the calm instructions documentation a couple of times, asked AI, and still do not understand its purpose. After some reading in this awesomesauce forum, I noticed it may serve some use I am unaware of. What you guys use calm instructions for?

For me, the most useful is only macro instructions, I use them to simplify pointer resolution. By the way, I also don't understand why use the struct thing fasm has. I have always used symbolic variables.
Post 22 Sep 2026, 23:06
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 21155
Location: In your JS exploiting you and your system
revolution 23 Sep 2026, 04:44
CALM if for fasmg, it isn't relevant to fasm.
Post 23 Sep 2026, 04:44
View user's profile Send private message Visit poster's website Reply with quote
Jessé



Joined: 03 May 2025
Posts: 155
Location: Brazil
Jessé 24 Sep 2026, 01:22
You'll probably figure out their purpose when you completely figure out that fasmg (which is the backbone of fasm2, by the way, but not related to fasm), is not an assembler by itself.

Anyway, to help you, they are (as far as I know) specialized instructions, that become precompiled when you define them. Which differs from regular macroinstructions.
Take your time, because fasmg is quite unusual, if you compare its statements with other assemblers.

Also, their creation history lies somewhere at this forum, so you can read it, and take your own conclusions about it.
Post 24 Sep 2026, 01:22
View user's profile Send private message Visit poster's website Reply with quote
ttd3v



Joined: 17 Sep 2026
Posts: 44
ttd3v 24 Sep 2026, 02:05
Jessé wrote:
You'll probably figure out their purpose when you completely figure out that fasmg (which is the backbone of fasm2, by the way, but not related to fasm), is not an assembler by itself.

Anyway, to help you, they are (as far as I know) specialized instructions, that become precompiled when you define them. Which differs from regular macroinstructions.
Take your time, because fasmg is quite unusual, if you compare its statements with other assemblers.

Also, their creation history lies somewhere at this forum, so you can read it, and take your own conclusions about it.


So is it basically a preprocessor, with instances that are resolved into asm that fasm handle?
Post 24 Sep 2026, 02:05
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 21155
Location: In your JS exploiting you and your system
revolution 24 Sep 2026, 05:10
ttd3v wrote:
So is it basically a preprocessor, with instances that are resolved into asm that fasm handle?
fasm is not part of fasmg.

fasmg is a text processor that outputs bytes. CALM is part of fasmg. At no point is fasm used.
Post 24 Sep 2026, 05:10
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-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.