flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > use fasm as a generic tool Goto page Previous 1, 2 |
Author |
|
edfed 29 Apr 2019, 07:27
you can open a new thread about this cause here, i just focus on the
Code: compile "returnX².asm" ;version that launches a fasm command. compile on "return0.bin" { ; versions that uses code inside brackets to compile. maybe it should use the sam emethod as in first version after extraction of the source in brackets... mov eax,0 ret } compile { ; this version needs to declare the file to generate, if you don't it will generate a "currentfilexxxxx.bin" file.current file is the name of the osurcefile, xxxxx is the current compile iteration. each compile would then increment a counter by one. db "x = 1234",0 db "y = x²",0 } compile_begin ;maybe the job would be easier if using compile_begin and compile_end tokens... mov eax,0xedfed ret compile_end ;of course, the symbol is still to define. functionnality. i promise, when i'll have time i'll make the first version, versions on bracket enclosed code seems to be very hardcore to do for me in a first time. |
|||
29 Apr 2019, 07:27 |
|
edfed 09 May 2019, 09:33
found where to work on this
TABLES.inc wrote:
and PREPROCE wrote:
to achieve the flatassembler directive, i will just make like include, but instead of including , i'll just launch the command "fasm file.asm" with os independent code. i also macroed the items in tables.inc then it will be more easy, and less verbose to add new items. i just hope it will be as simple as that, and don't create problems with multiple passes. |
|||
09 May 2019, 09:33 |
|
edfed 15 May 2019, 08:05
Main problem here is in dos version.
dos cannot execute fasm from fasm. then, the solution should be to pipeline the compilations to do, and launch them after the main execution. this creates a second problem, if the main compile needs a secondary file to be compiled to include data (file directive) from it, it will not work... maybe in a first time, i'll not consider the dos version and focus on the win32 version, and then confirm it will execute secondary compilation only one time before file directive. |
|||
15 May 2019, 08:05 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.