🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2533

Re: Efficiency Question : bits vs. bytes (or anything else, for that matter)

#2533
From: telnet user
Date: Sat, 06 Apr 1996 14:42
26 lines
1979 bytes
Kevin Miller (kjm@quirk.physics.ucsb.edu) wrote:
: kkto@csd.hku.hk (Isaac To ~{6E<RG?~}) writes:

: >A more crazy application pack 8 nibbles to the same word and the only
: >thing he want to do to it is to add up them nibble by nibble as unsigned
: >integers and there's guaranteed to be no overflow. 
:   
: I would assume that a nibble is a subdivision of a byte.  
: But just out of curiosity, exactly how much *is* a nibble? 

Half a byte (4 bits).  I remember the term from programming 8 bit
CPUs; one would often store information in the "high nibble" and
"low nibble" much the same way one uses the high and low bytes on
16 bit CPUs.  For example, one of the reasons 16 colors was popular on
8 bit CPUs was that foreground/background colors for a point fit
nicely into one byte that way (one color in the high nibble, one in
the low).

I haven't heard the term in _ages_, though.  Maybe 10 years?  Help me!
I'm not old enough to feel old!

---------------------------------------------------------------------------
Tim Hollebeek         | Disclaimer :=> Everything above is a true statement,
Electron Psychologist |                for sufficiently false values of true.
Princeton University  | email: tim@wfn-shop.princeton.edu
----------------------| http://wfn-shop.princeton.edu/~tim (NEW! IMPROVED!)
Technical Details
Message-ID: <4k5vti$a3t@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4jbciv$2kk@solutions.solon.com> <4jr741$h8l@solutions.solon.com> <4jttc7$3hu@solutions.solon.com> <4k1q4o$5cn@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: tim@franck.Princeton.EDU (telnet user)
Newsgroups: comp.lang.c.moderated
Subject: Re: Efficiency Question : bits vs. bytes (or anything else, for that matter)
Date: 6 Apr 1996 08:42:58 -0600
Organization: Princeton University
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4k5vti$a3t@solutions.solon.com>
References: <4jbciv$2kk@solutions.solon.com> <4jr741$h8l@solutions.solon.com> <4jttc7$3hu@solutions.solon.com> <4k1q4o$5cn@solutions.solon.com>
Reply-To: tim@wagner.Princeton.EDU
NNTP-Posting-Host: solutions.solon.com
X-Newsreader: TIN [version 1.2 PL2]