flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
SFeLi 28 Dec 2010, 15:03
Code: display 'Whatever you want',0x0a fasm something.asm >> log.txt |
|||
![]() |
|
revolution 28 Dec 2010, 15:05
In the command line version (fasm.exe) you can use the display directive to output code to the terminal. Then just redirect the output to append to a file.
Code: c:\fasm> fasm MyUberProggy.asm MyUberProggy.exe >>log.txt |
|||
![]() |
|
SPTH 29 Dec 2010, 13:31
Thank you!
I always use the FASM GUI (ctrl+f9), so is that possible with the GUI too? |
|||
![]() |
|
revolution 29 Dec 2010, 14:22
SPTH wrote: I always use the FASM GUI (ctrl+f9), so is that possible with the GUI too? |
|||
![]() |
|
SPTH 29 Dec 2010, 16:39
Thx revolution for the fast answere.
I finally thought I had a solution: Code: format binary as 'log' db "Function 1" format binary as 'exe' code format binary as 'log' db "Parameter 2" format binary as 'exe' more code But that does not work, too - "unexpected instruction" Do you know any way to make that working? To write to a log file? |
|||
![]() |
|
revolution 29 Dec 2010, 17:36
You can only have one format statement per assembly invocation. You would need to make four separate .asm files and assemble each file individually.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.