flat assembler
Message board for the users of flat assembler.
Index
> Main > How merge data into one section? |
Author |
|
xRom 23 Nov 2011, 19:04
And not generate data within the code? It's not good:
Code: macro abc [s] { local _s if s eqtype 'a' jmp @f _s db s @@: push _s ... end if } |
|||
23 Nov 2011, 19:04 |
|
revolution 24 Nov 2011, 10:34
You can use a macro to build lists of strings and place the strings later.
See this for an example: http://board.flatassembler.net/topic.php?t=12012 |
|||
24 Nov 2011, 10:34 |
|
baldr 27 Nov 2011, 22:09
xRom,
That approach will even give you the opportunity to merge the similar strings (like "Hello, world!\0" and "rld!\0"), if they're const. |
|||
27 Nov 2011, 22:09 |
|
xRom 29 Nov 2011, 20:59
Very big thanx! It's workin
|
|||
29 Nov 2011, 20:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.