DJ Delorie wrote:
> Why are one-bit bitfields not allowed? I'm trying to support a
> BSET/BCLR pair that *only* support single bit fields, for I/O ports,
> which are always volatile (and thus you have to use insv, as gcc won't
> do a "or #1,port5" if port5 is volatile).
;) Of course, you could always hack around combine to allow it to accept
volatiles in a tightly-circumscribed set of conditions that will allow gcc to
generate these OR instructions for you. I found that approach worked pretty
good for me; YMMV but I could always post a code sample...
cheers,
DaveK
--
Can't think of a witty .sigline today....