flat assembler
Message board for the users of flat assembler.

Index > Main > FASM directive/syntax question

Author
Thread Post new topic Reply to topic
A.Cipher



Joined: 19 Jul 2008
Posts: 5
A.Cipher 19 Jul 2008, 00:58
hello, I'm pretty new to using FASM.
I am wondering since it is developed under the SSSO principle is there a inline directive or some syntax to change the name (and more important to me the extension) of the output.

What I'm doing is working on a bootable *.img file and instead of putting out code that compiles to a *.bin file I'd like to be able to see it directly compile to the *.img file.
Post 19 Jul 2008, 00:58
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 19 Jul 2008, 01:59
Code:
format binary as "img"; At the beginning of the source or at least before anything that produces output (included uninitialized data)    
Post 19 Jul 2008, 01:59
View user's profile Send private message Reply with quote
A.Cipher



Joined: 19 Jul 2008
Posts: 5
A.Cipher 19 Jul 2008, 02:18
just what I was looking for

Thanks!
Post 19 Jul 2008, 02:18
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.