17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Identifiers<br />

ABCDE<br />

ID[X]<br />

ID[X][X]<br />

ID.ID<br />

ID->ID<br />

Up to 32 characters beginning with a non-numeric.<br />

Valid characters are A-Z, 0-9 and _ (underscore). By<br />

default not case sensitive Use #CASE to turn on.<br />

Single Subscript<br />

Multiple Subscripts<br />

Structure or union reference<br />

Structure or union reference<br />

Operators<br />

+ Addition Operator<br />

+= Addition assignment operator, x+=y, is the same as x=x+y<br />

[ ] Array subscrip operator<br />

Bitwise and assignment operator, x&=y, is the same as<br />

&=<br />

x=x&y<br />

&<br />

Address operator<br />

&<br />

Bitwise and operator<br />

Bitwise exclusive or assignment operator, x^=y, is the same<br />

^=<br />

as x=x^y<br />

^<br />

Bitwise exclusive or operator<br />

Bitwise inclusive or assignment operator, xl=y, is the same<br />

l=<br />

as x=xly<br />

l<br />

Bitwise inclusive or operator<br />

?: Conditional Expression operator<br />

- - Decrement<br />

/= Division assignment operator, x/=y, is the same as x=x/y<br />

/ Division operator<br />

== Equality<br />

> Greater than operator<br />

>= Greater than or equal to operator<br />

++ Increment<br />

* Indirection operator<br />

!= Inequality<br />

24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!