From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: f4c4f7386e,1f0ed186713c1bdb X-Google-Attributes: gidf4c4f7386e,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!194.255.237.131.MISMATCH!newsfeed101.telia.com!starscream.dk.telia.net!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Wed, 15 Jun 2011 06:52:46 -0400 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Source for RT-11 TECO V36 References: <4df2176d$0$312$14726298@news.sunsite.dk> <3ab4c070-9402-4749-8dc7-49310abd7f29@g28g2000yqa.googlegroups.com> <9da7ce8b-1acb-40a0-a232-d73935cc9ffe@x3g2000yqj.googlegroups.com> <4df579eb$0$305$14726298@news.sunsite.dk> <4df81ae6.8907298@news.tpgi.com.au> In-Reply-To: <4df81ae6.8907298@news.tpgi.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4df88eb2$0$306$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=:EnXDT0RY\Z5LoVIWDNeH\YSB=nbEKnk[Ce6KKGD=L[]PPfk^U[HX;_N1>V8bAJTI^3eOPKWXldeTQa4_jgFW[9_DLjFRm^e1O_]01T`Rm1cHX X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com alt.sys.pdp11:2271 comp.sys.dec:3533 vmsnet.pdp-11:645 >paramucho wrote: >>On Tue, 14 Jun 2011 00:16:35 +0000 (UTC), billy@MIX.COM wrote: > >>In vmsnet.pdp-11 Jerome H. Fine wrote: >> >>>A disassembly is not trivial, even with an OBJ file >>>as UnMAC is an example. The original version in >>>DECUS could not even UnMac itself. >>> >>> >>DECODE V3 is reasonably decent. >> >It's not bad at all, but a DIFFER/BINARY shows some problems. >The main one I found is that it creates symbols with up to seven >significant characters. For example, the octal literal 177777 is >mapped to the 7-character symbol L177777. Clearly the final "7" is >dropped by the assembler. A solution would be to encode these using >decimal, although that further obsfucates the code. > >Ian > When I used DECODE, I seem to remember that there was an additional problem. If there was an .ASCII reference which started at an ODD address, it was unable to resolve the location. I think that I added the ASCII directive which was able to support ODD addresses. I think that I also added an additional set of symbols to use when BIT values were being used with the three instructions (BIT, BIC, BIS) in order to distinguish those symbols which started with a "V" used for immediate instructions - obviously started those symbols with a "B". To solve the SEVEN character symbol problem when the high order bit was set, I just incremented the value of the symbol. That produced SIX sets of symbols: (a) L00000 to L77776 and M00000 to M77776 (b) V00000 to V77777 and W00000 to W77777 (c) B00000 to B77777 and C00000 to C77777 If anyone is interested, I will look around for the program. Jerome Fine