How to indicate a field of bits in a byte

Subject: How to indicate a field of bits in a byte
From: Jan Axelson <jan -at- Lvr -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Tue, 08 Nov 2005 09:29:33 -0600


I sometimes need to describe the usage of bits of data within a byte, where multiple bits in the byte make up a single field.

Example:

Bit 0: End bit
Bits 1 through 7: CRC bits

Conventions I've seen to indicate "Bits 1 through 7" or similar include

[1:7]

1..7

1...7

1-7, where "-" is an n-dash

or the same but with the most significant bit first, especially when followed by data, such as:

[7:1] 1110001

(because the leftmost bit is bit 7).

I'd be interested in any comments/thoughts on which format is clearest, or if there's a better format. The audience is engineers/programmers.

(I recently rejoined this list after an absence and am finding it as informative as ever.)

Jan Axelson
www.Lvr.com

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Try WebWorks ePublisher Pro for Word today! Smooth migration of legacy
RoboHelp content into your new Help systems. EContent Magazine Decision-
maker review (October 2005) is here: http://www.webworks.com/techwr-l

Doc-To-Help 2005 converts RoboHelp files with one click. Author with Word or any HTML editor. Visit our site to see a conversion demo movie and learn more. http://www.componentone.com/TECHWRL/DocToHelp2005

---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- techwr-l -dot- com
Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.



Follow-Ups:

Previous by Author: RE: Online Technical Writing Programs
Next by Author: Re: How to indicate a field of bits in a byte
Previous by Thread: RE: David Pogue's column - New York Time
Next by Thread: Re: How to indicate a field of bits in a byte


What this post helpful? Share it with friends and colleagues:


Sponsored Ads