flat assembler
Message board for the users of flat assembler.

Index > Main > New feature - edit byte at offset

Author
Thread Post new topic Reply to topic
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy
Hi Privalov!

Trying to code something, I just got an idea... Does the structure of FASM make it easy to implement a feature which let you edit code which is already generated?

An example:
Code:
db 1,2,3,4,5
db 6,7,8,9,0
edit 5,1,1           ; I'm not sure about the syntax, but maybe something like edit offset,size,value    

Resulting in a file:
Code:
 01 02 03 04 05
 01 07 08 09 00    


Is this possible to add? So long!

Tommy
Post 02 Nov 2003, 19:24
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7782
Location: Kraków, Poland
Tomasz Grysztar
Are you sure you cannot achieve the result you need with just conditional assembly ("if" directive)?
Post 03 Nov 2003, 19:35
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy
...after some thinking, I found out it's not necessary... My idea will require too much work anyway... Well, thanks anyway!

BTW: How is the math going? When can we expect FASM 1.50 to be released?

Regards,
Tommy
Post 03 Nov 2003, 20:15
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7782
Location: Kraków, Poland
Tomasz Grysztar
When I finish those two more features (look in the prerelease thread). Wink
Post 03 Nov 2003, 20:29
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy
Very Happy Cool!
Post 03 Nov 2003, 20:31
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.