piclist 2001\12\04\100442a >
Thread: Accessing a var as a byte or bits in C
www.piclist.com/techref/microchip/languages.htm?key=c
flavicon
face BY : mikeEraseME@KILLspamwhitewing.co.uk



Thanks to all who responded to this - it works fine in Hitech C. One observation, though, hitech is very code-inefficient at doing
maths on bitfields longer that one bit, so you can often save a lot of
code by copying the bitfield to a temporary char, doing the maths,
then copying it back.
On Tue, 4 Dec 2001 09:30:14 +1000, you wrote:

{Quote hidden}

>> {Original Message removed}
<66pp0usatf7csm07lvab7j14jddje161bo@4ax.com> quoted-printable

In reply to: <002001c17c52$7652e0b0$641010ac@tardis>
See also: www.piclist.com/techref/microchip/languages.htm?key=c
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Accessing a var as a byte or bits in C

month overview.

new search...