#include <stdint.h>
#define buffSize 128
uint8_t  buffTail=0;
void main(void) 
{    
    buffTail &= (buffSize-1); 
}