Article View: bit.listserv.asm370
Article #163Re: Look-ahead question
From: glen herrmannsfeldt
Date: Wed, 04 Oct 2006 18:40
Date: Wed, 04 Oct 2006 18:40
21 lines
2451 bytes
2451 bytes
Edward Jaffe <edjaffe@phoenixsoftware.com> wrote: > If you can foretell the future, can you then take steps to alter it? > Such a conundrum/paradox might be fun to ponder while under the > influence of mind-altering chemicals. But, in the real world of > assembler language programming, a "crystal ball" seems like an > unreasonable request to me. It would be possible to do with more than two passes, though I don't know of any assemblers that do it. For assemblers, a similar problem comes up when deciding between short and long branch instructions. LaTeX has a related problem for doing table of contents and other page references. The LaTeX solution involves running LaTeX multiple times, each time it reads in a file that it previously wrote. Usually this converges to the right solution fairly fast, though there could be cases that don't converge. -- glen
Technical Details
Message-ID:
<45240025.mailx2IF11WJON@seniti.ugcs.caltech.edu>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!sn-xt-sjc-04!sn-xt-sjc-09!sn-xt-sjc-12!supernews.com!foggy!vm.sas.com!ugcs.caltech.edu!gahReferences:
<200610031846.k93IkI9S008439@d03av03.boulder.ibm.com> <001701c6e7da$ccd27830$87a674d5@bixoft> <4523F87A.4030802@phoenixsoftware.com>Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,1ac3d379027be04d
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!sn-xt-sjc-04!sn-xt-sjc-09!sn-xt-sjc-12!supernews.com!foggy!vm.sas.com!ugcs.caltech.edu!gah
From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: bit.listserv.asm370
Subject: Re: Look-ahead question
Date: Wed, 4 Oct 2006 11:40:37 -0700
Organization: SAS Inc.
Lines: 21
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <45240025.mailx2IF11WJON@seniti.ugcs.caltech.edu>
References: <200610031846.k93IkI9S008439@d03av03.boulder.ibm.com>
<001701c6e7da$ccd27830$87a674d5@bixoft>
<4523F87A.4030802@phoenixsoftware.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1159987245 19329 10.19.150.41 (4 Oct 2006 18:40:45 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Wed, 4 Oct 2006 18:40:45 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
User-Agent: nail 9.30 2/20/02
X-Scanned-By: Digested by UGA Mail Gateway on 128.192.1.75
Approved-By: glen herrmannsfeldt <gah@UGCS.CALTECH.EDU>
In-Reply-To: <4523F87A.4030802@phoenixsoftware.com>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 04 Oct 2006 18:40:42.0493 (UTC)
FILETIME=[98926AD0:01C6E7E4]
Originator: daemon@mozart.unx.sas.com