Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site mplvax.ARPA Path: utzoo!linus!decvax!ittatc!dcdwest!sdcsvax!sdcc6!mplvax!cdl From: cdl@mplvax.ARPA (Carl Lowenstein) Newsgroups: net.micro.att Subject: Re: labels in 3b* asm files Message-ID: <262@mplvax.ARPA> Date: Mon, 24-Feb-86 00:01:23 EST Article-I.D.: mplvax.262 Posted: Mon Feb 24 00:01:23 1986 Date-Received: Wed, 26-Feb-86 06:33:17 EST References: <2768@gatech.CSNET> Reply-To: cdl@mplvax.UUCP (Carl Lowenstein) Organization: Marine Physical Laboratory, UCSD Lines: 22 In article <2768@gatech.CSNET> hope@gatech.CSNET (Theodore Hope) writes: >Does anyone know if the assemblers on 3b2/3b5/3b20 machines support any sort >of 'local' labels? By that I mean the following sort of thing: > > : > 1f: addw &3,x <---------------------+ > : | > : | > bneq 1b /* go back to + > >(Ignore the actual instructions, it's the labeling that I'm concerned with.) > Generally speaking, no. The 3b assemblers are merely the last pass of a C compiler, and have nothing good in the way of human engineering. You can define 'local' labels which don't get into the symbol table by using a period (.) for the first character of the label name. But they don't quietly disappear the way that Knuth's 1f: and 1b: labels, or DEC's 1$: and 2$: -- carl lowenstein marine physical lab u.c. san diego {ihnp4|decvax|akgua|dcdwest|ucbvax} !sdcsvax!mplvax!cdl