HP3000-L Archives

November 2005, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Wirt Atmar <[log in to unmask]>
Reply To:
Date:
Fri, 25 Nov 2005 16:37:37 EST
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Glenn writes:

> Interesting mnemonic for the sign nibbles.  Hadn't heard it described that
>  way before.

I didn't make it up. I have no idea now where I heard it, but it wasn't 
original with me.

 
>  I feel certain that the choice of x'C' and x'D' as sign characters has its
>  roots in the way signed zoned numbers are stored.  And the method we use 
for
>  storing signed zoned numbers has its roots in Hollerith card codes (punch
>  cards).  Numbers punched on Hollerith cards were signed by overpunching the
>  last digit with either a '+' (zone 12) or a '-' (zone 11) punch giving us
>  the possibly familiar ( {, A, B, ..., I and }, J, K, ..., S ) sign
>  characters.  The EBCDIC values for those character ranges start with x'C'
>  and x'D' respectively. Creating hardware to pack and unpack numbers while
>  retaining the sign was made relatively easy by simply using the last
>  high-order nibble (whatever it was) as the sign.

In my nightly communing with William of Occam, this explanation seems much 
less likely than mine. Where does the "F" come from then? And who really cares 
about EBCDIC? Or even ASCII? The governing idea is hex encoding.

By using only the ABCDEF characters, the least significant nibble (the sign 
nibble) is composed of an "out-of-band" symbol and could easily be 
differentiated from the data nibbles, which are encoded 0-9 BCD. If I were to choose, I 
too would have chosen the "F" to represent no sign information. The only 
question then is which characters to use to represent the "+" and "-" events.

In looking at the remaining characters, I would obviously have either chosen 
the A/B or the C/D pair. Heck, there isn't anything else.

Wirt Atmar

 

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2