delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/18/16:02:29

Date: Sat, 18 Oct 1997 13:00:32 -0700 (PDT)
Message-Id: <199710182000.NAA16448@adit.ap.net>
Mime-Version: 1.0
To: Jeff Weeks <pweeks AT execulink DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Inline assembly labels (the 0:, 1:, etc, type). Why?

At 05:49  10/16/1997 -0400, Jeff Weeks wrote:
>In Brennan's inline assembly tutorial he mentions the use of the 0:, 1:,
>etc. labels.  I've always meant to ask, but haven't until now;  Is there
>any advantage to using these types of labels as apposed to the regular
>(this:, that:, etc) labels?  If so, what is the difference, and how does
>it affect my code (any code)?
The difference is that something like `foo:' might conflict with another
label in the source file, while the local labels (`0:') cannot. For more
information, see the AS docs: node "Symbol names".

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019