flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [fasmg] local label |
Author |
|
Tomasz Grysztar 14 Oct 2019, 19:00
MaoKo wrote: Hello! I'm wonder something (which is obvious, maybe) about local symbol and context. The problem is that, I need to make some reference to some local symbol, and after that purge/override the macro that defined it. Does is safe to do? After some test the value don't go away but I didn't go deeper. In FASM1 it's safe cuz there is a kind of global counter which is increment when a new local is defined. MaoKo wrote: Also in the man I don't really understand a quote: Code: macro test local name name = 1 ; this is local name.x = 1 ; this is also local x.name = 1 ; this is global (in the namespace of global "x") end macro |
|||
14 Oct 2019, 19:00 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.