mikroC

making it simple...

mikroC - C Compiler for Microchip PIC microcontrollers

Precedence

Operands

Operators

 

 

 

 

 

 

Associativity

 

 

 

 

 

 

 

 

 

 

 

15

2

()

[]

.

->

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

14

1

!

~

++

--

+

-

 

*

right-to-left

&

(type)

sizeof

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

13

2

*

/

%

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

12

2

+

-

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

11

2

<<

>>

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

10

2

<

<=

>

>=

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

9

2

==

!=

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

8

2

&

 

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

7

2

^

 

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

6

2

 

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

5

2

&&

 

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

4

2

 

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

3

3

?:

 

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

2

2

=

*=

/=

%=

 

+=

-=

 

right-to-left

&=

^=

=

<<=

 

>>=

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

,

 

 

 

 

 

 

 

left-to-right

 

 

 

 

 

 

 

 

 

 

 

 

 

page

 

MikroElektronika: Development tools - Books - Compilers

101