The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.
A very dumb question - old_cow_yellow - Nov 11 10:58:51 2009
RE: A very dumb question - Paul Curtis - Nov 11 11:01:47 2009
Hi,
> Is "&" the "logic OR" operator or the "bit-wise OR" operator in c?
Neither. It's bitwise AND.
--
Paul Curtis, Rowley Associates Ltd=A0=A0 http://www.rowley.co.uk
CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: A very dumb question - old_cow_yellow - Nov 11 11:16:04 2009
Thanks.
That is why it was a very dumb question.
--- In m...@yahoogroups.com, "Paul Curtis"
wrote:
>
> Hi,
>=20
> > Is "&" the "logic OR" operator or the "bit-wise OR" operator in c?
>=20
> Neither. It's bitwise AND.
>=20
> --
> Paul Curtis, Rowley Associates Ltd=A0=A0 http://www.rowley.co.uk
> CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!
>
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: A very dumb question - "e.tury" - Nov 11 11:39:15 2009
None of the above.
OR are you just having fun?
--- In m...@yahoogroups.com, "old_cow_yellow"
wrote:
>
> Is "&" the "logic OR" operator or the "bit-wise OR" operator in c?
>
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )RE: A very dumb question - Kipton Moravec - Nov 11 14:59:32 2009
On Wed, 2009-11-11 at 16:01 +0000, Paul Curtis wrote:
> Hi,
>
> > Is "&" the "logic OR" operator or the "bit-wise OR" operator in c?
>
> Neither. It's bitwise AND.
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!
That did seem dumb. :)
The "&" is bit-wise AND and "&&" is logic AND
The "|" is bit-wise OR and "&&" is logic OR
The "=" is assignment and "==" is used in logic expressions. if (A ==
B) ...
Kip
--
Kipton Moravec AE5IB .- . ..... .. -...
"Always do right; this will gratify some people and astonish the rest."
--Mark Twain
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
RE: A very dumb question - micr...@virginbroadband.com.au - Nov 11 17:11:49 2009
Hey peoples, I think OCY was implying sarcasm towards *real* dumb
questions.
If I know OCY as well as I think I do, no doubt this was directed at the
volatile issue pointless (IMO)
thread.....
-- Kris
On Wed, 11 Nov 2009 13:57:38 -0600, Kipton Moravec
wrote:
> On Wed, 2009-11-11 at 16:01 +0000, Paul Curtis wrote:
>> Hi,
>>
>> > Is "&" the "logic OR" operator or the "bit-wise OR" operator in c?
>>
>> Neither. It's bitwise AND.
>>
>> --
>> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
>> CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!
>>
>> That did seem dumb. :)
>
> The "&" is bit-wise AND and "&&" is logic AND
> The "|" is bit-wise OR and "&&" is logic OR
> The "=" is assignment and "==" is used in logic expressions. if (A ==
> B) ...
>
> Kip
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: A very dumb question - jci443 - Nov 12 7:07:21 2009
My->Agreement = Kris & Kipton & e.Tury & Paul ;
On Wed, Nov 11, 2009 at 5:11 PM,
wrote:
> Hey peoples, I think OCY was implying sarcasm towards *real* dumb
> questions.
> If I know OCY as well as I think I do, no doubt this was directed at the
> volatile issue pointless (IMO)
> thread.....
>
> -- Kris
> On Wed, 11 Nov 2009 13:57:38 -0600, Kipton Moravec
>
> wrote:
> > On Wed, 2009-11-11 at 16:01 +0000, Paul Curtis wrote:
> >> Hi,
> >>
> >> > Is "&" the "logic OR" operator or the "bit-wise OR" operator in c?
> >>
> >> Neither. It's bitwise AND.
> >>
> >> --
> >> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> >> CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!
> >>
> >>
> >
> > That did seem dumb. :)
> >
> > The "&" is bit-wise AND and "&&" is logic AND
> > The "|" is bit-wise OR and "&&" is logic OR
> > The "=" is assignment and "==" is used in logic expressions. if (A ==
> > B) ...
> >
> > Kip
>
>
>
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )