Download CodeVisionAVR User Manual

Transcript
CodeVisionAVR
The compiler behaves differently for the following operators:
+=
-=
*=
/=
%=
&=
|=
^=
<<=
>>=
For these operators, the result is to be written back onto the left-hand side operand (which must be a
variable). So the compiler will always convert the right hand side operand into the type of left-hand
side operand.
3.10 Operators
The compiler supports the following operators:
+
*
%
-==
!
<
<=
&
|
^
<<
-=
/=
&=
^=
>>=
/
++
=
~
!=
>
>=
&&
||
?
>>
+=
%=
*=
|=
<<=
© 1998-2001 HP InfoTech S.R.L.
Page 75