Searching \ for '[EE]:what is ~' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=what
Search entire site for: 'what is ~'.

Exact match. Not showing close matches.
PICList Thread
'[EE]:what is ~'
2001\01\11@101806 by Nuri ERGINER

flavicon
face
Hi

What is the meaning of ~ in the belove example in Pic C programming language

void main (void)
  {
      while(1)
         { Pf = ~Pi }
  }

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu


2001\01\11@103505 by Michael Rigby-Jones

flavicon
face
> -----Original Message-----
> From: Nuri ERGINER [SMTP:.....nerginerKILLspamspam@spam@SSM.GOV.TR]
> Sent: Thursday, January 11, 2001 3:10 PM
> To:   PICLISTspamKILLspamMITVMA.MIT.EDU
> Subject:      [EE]:what is ~
>
> Hi
>
> What is the meaning of ~ in the belove example in Pic C programming
> language
>
> void main (void)
>    {
>        while(1)
>           { Pf = ~Pi }
>    }
>
>
It is the complement operator, peforms the same function as the comf f,d pic
instruction.

Regards

Mike

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam.....mitvma.mit.edu


2001\01\11@103704 by Robert Young

picon face
In C, the tilde (~) is the one's complement operator.

Pf = %10101010
~Pf = %01010101

I am assuming that Pic C tries to follow the ANSI C standard as best it can.

Robert Young
YR Consulting
EraseMErwyoungspam_OUTspamTakeThisOuTieee.org
{Original Message removed}

2001\01\11@103715 by s.m.brady

picon face
It is a 1's complement operator used in C

Sharon

-----Original Message-----
From: pic microcontroller discussion list
[PICLISTspamspam_OUTMITVMA.MIT.EDU]On Behalf Of Nuri ERGINER
Sent: 11 January 2001 15:10
To: @spam@PICLISTKILLspamspamMITVMA.MIT.EDU
Subject: [EE]:what is ~


Hi

What is the meaning of ~ in the belove example in Pic C programming language

void main (void)
  {
      while(1)
         { Pf = ~Pi }
  }

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu

--
http://www.piclist.com hint: To leave the PICList
RemoveMEpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...