Download CodeVisionAVR User Manual
Transcript
CodeVisionAVR
The compiler allows also to declare up to 8 local bit variables which will be allocated in register R15.
Example:
void main(void)
{
bit alfa; /* bit 0 of R15 */
bit beta; /* bit 1 of R15 */
/* ........ */
}
In expression evaluation bit variables are automatically promoted to unsigned char.
© 1998-2007 HP InfoTech S.R.L.
Page 77