flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Error: symbol 'NUMBER_OF_SECTIONS' is undefined or out of sc |
Author |
|
Tomasz Grysztar 15 Oct 2016, 09:34
A bit more of context is needed, you did not show how do you use these macros.
Also, sometimes the first error that gets reported is actually a consequence of an error elsewhere, because of the forward-referencing. Please try assembling with higher "-e" setting to display information about more errors. For example, a similar error shows up if I add the unbalanced "IF" near the end of a simple PE source: Code: include 'format/format.inc' format PE GUI 4.0 ret if 0 The error that gets reported when we show only one is the first one encountered, but this first error is in fact a consequence of an error elsewhere (the unbalanced "if 0" caused postponed lines to not get executed properly): [fasmg test.asm nul] wrote: test.asm [3] macro format [70] include\format/pe.inc [308]: With the "-e100" setting the actual original error that caused the "avalanche" is seen at the end: [fasmg test.asm nul -e100] wrote: test.asm [3] macro format [70] include\format/pe.inc [308]: |
|||
15 Oct 2016, 09:34 |
|
uor99 15 Oct 2016, 14:44
please help compile this app in fasmg.
|
|||||||||||
15 Oct 2016, 14:44 |
|
Tomasz Grysztar 15 Oct 2016, 16:48
This source uses many of the macros of fasm 1 that have no counterparts for fasmg defined in this "macros.inc", in particular "proc" and resource macros. The resource macros of fasm 1 are very simple, adapting them to fasmg should be quite simple, but "proc" may require a bit more work.
You also lack the Win32 equates, like KERNEL32.INC, but these can be copied directly from fasm 1 packages. |
|||
15 Oct 2016, 16:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.