bit operation

Hi everbody!

I have not found any commands that support bit operation for raster
cells, for example and, or, xor, shifting etc.
I look at r.mapcalc and r.combine but these are support only logical
operation between integer values.
Any idea?

THX,
        Zsolt