XOR on layers

Is there a way to do a XOR computation
on layers in GRASS?

--Xin Zhuang
zhuang@access.digex.com