flat assembler
Message board for the users of flat assembler.

Index > Main > What next in new version Fasmw?

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1701
Roman 16 Apr 2023, 14:28
Quote:
Couldn't you just write "v", "vt", "vn", "f" macros and then include the file directly?

And how in fasm macro I converted float text "5.55" to fasm data dd 5.55 ?
Now I using my program for converting text to binary file.


Last edited by Roman on 16 Apr 2023, 14:30; edited 2 times in total
Post 16 Apr 2023, 14:28
View user's profile Send private message Reply with quote
macomics



Joined: 26 Jan 2021
Posts: 913
Location: Russia
macomics 16 Apr 2023, 14:29
For this highly specialized task not related to assembly, you can write a separate converter in fasm, which will separately convert data from text to binary form and save it in a block embedded in the main program via the file directive.

According to the same principle, the reader of the list of functions exported from the dll was written, recently updated by me here.
Post 16 Apr 2023, 14:29
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8344
Location: Kraków, Poland
Tomasz Grysztar 16 Apr 2023, 14:38
Roman wrote:
And how in fasm macro I converted float text "5.55" to fasm data dd 5.55 ?
You don't need to convert anything when "v 5.55" is just a macro call.
But I'm sorry, I forgot that with fasm you cannot simply filter out the "#" comment lines. Once more, what fasmg solves easily, fasm 1 cannot.

By the way, you can also combine fasmg and fasm 1 in a single project, if needed, using fasmg as a preprocessor to solve all the harder problems and then pass the easy job to fasm.
Post 16 Apr 2023, 14:38
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:  
Goto page Previous  1, 2

< 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.