flat assembler
Message board for the users of flat assembler.
Index
> Main > Not Local labels in proc? |
Author |
|
Tomasz Grysztar 07 Jan 2006, 10:18
"proc" is just a macro, so assembler itself doesn't see anything special about it, thus the labels are defined as everywhere else. On the other hand, it allows you to jump to any such label from any place.
In fasm there's however the label localization scheme borrowed from NASM, that can be used in such cases: Code: Myproc1: .mylabel: ; defines label local to Myproc1 Myproc2: .mylabel: ; defines label local to Myproc2 |
|||
07 Jan 2006, 10:18 |
|
alorent 07 Jan 2006, 10:40
great!
Thanks. |
|||
07 Jan 2006, 10:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.