Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jerome H. Fine" <everyone@nospam.com>
Subject: Re: Source for RT-11 TECO V36
Date: Wed, 15 Jun 2011 06:52:46 -0400	[thread overview]
Message-ID: <4df88eb2$0$306$14726298@news.sunsite.dk> (raw)
In-Reply-To: <4df81ae6.8907298@news.tpgi.com.au>

 >paramucho wrote:

>>On Tue, 14 Jun 2011 00:16:35 +0000 (UTC), billy@MIX.COM wrote:
>
>>In vmsnet.pdp-11 Jerome H. Fine <everyone@nospam.com> 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


  reply	other threads:[~2011-06-15 10:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 13:09 Source for RT-11 TECO V36 Jerome H. Fine
2011-06-11  8:00 ` Johnny Billquist
2011-06-11 10:20 ` glen herrmannsfeldt
2011-06-12 10:54   ` John Wallace
2011-06-12 14:46     ` Johnny Billquist
2011-06-12 22:24       ` John Wallace
2011-06-12 23:04         ` Johnny Billquist
2011-06-13  3:01           ` Jerome H. Fine
2011-06-13  2:46         ` Jerome H. Fine
2011-06-14  0:16           ` billy
2011-06-15  2:49             ` paramucho
2011-06-15 10:52               ` Jerome H. Fine [this message]
2011-06-13  2:08       ` Jerome H. Fine
2011-06-13  2:07     ` Jerome H. Fine
2011-06-12  2:11 ` billy
2011-06-13  2:06   ` Jerome H. Fine
2011-06-14  0:09     ` billy
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox