Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ihuxb.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ihuxb!wfmans From: wfmans@ihuxb.UUCP (w. mansfield) Newsgroups: net.arch Subject: Re: Cleverness in the WE-32001 Message-ID: <1121@ihuxb.UUCP> Date: Thu, 25-Jul-85 11:37:14 EDT Article-I.D.: ihuxb.1121 Posted: Thu Jul 25 11:37:14 1985 Date-Received: Sun, 28-Jul-85 14:44:51 EDT Distribution: net Organization: AT&T Bell Laboratories Lines: 9 Mr Long comments that the WE-32001 contains a pc displacement addressing mode that could be used to effect position independent code. Yes it exists, and I don't know specifically why the assembler doesn't use it. The only possibilities that come to mind are that it might be easier for the assembler to generate the absolute address mode, or that the code might execute faster. If you look closely at the operand descripter encodings (at least for the 32100, I'm assuming that the 32001 is the same) you'll you'll see that using the PC with some addressing modes causes special things to happen.