News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Global labels

Started by ecube, March 04, 2009, 02:08:45 PM

Previous topic - Next topic

ecube

example
glabel::

does global labels do anything special to the pe file file? or does does it work.

Mark Jones

I think what you are asking is, do global jump labels do anything special to object files.

Try this, make two .asm files, one a regular console application and the other a "module" (no entrypoint or END statement, just procedures & data.) In the first file, call a global label which is only present in the second file. Assemble both to object code, then specify both .objs to the linker.

"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

ecube

why can't you just say what it does?

Tedd

It might be that he doesn't know and isn't going to waste time finding out when that should be your job :P


I don't think it actually does anything to the resulting PE, it's just sugar for allowing you to access labels across separate modules (which is only useful if you split things into modules anyway.)
No snowflake in an avalanche feels responsible.