Message board for the users of flat assembler.
> Main > [idea] include that able to merge data & code in main so
sleepsleep 18 Jun 2012, 16:33
i am thinking about a new syntax / macro that works like current include
the problem is like this,
eg, we wish to make our asm code module base, (so, to use other fasmer module, we just need to include 1 file, the module file then we can start coding)
so inside that file got code functions and we define some global variables that must exists if we want to use this module.
if using what i know now, it means, i need to separate them into 2 files.
and in the data main file,
then in the code section
which is troublesome (imo)
if we got a new include that able to combine separated "DATA" & "FUNCTION" into their should be section, that would be awesome.
memv1 dd 0
memv2 dd 0
all in 1 file.
|18 Jun 2012, 16:33||
revolution 18 Jun 2012, 16:44
|18 Jun 2012, 16:44||
sleepsleep 18 Jun 2012, 17:07
idk how to understand & comprehend those deep stuffs
|18 Jun 2012, 17:07||
revolution 18 Jun 2012, 17:28
See the last code box in the first post. It appears to be exactly what you asked for.
|18 Jun 2012, 17:28||
< Last Thread | Next Thread >
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.