Subtracting textures?

I've been trying to implement an oscillating dynamical system for a texture surface. However, I have a problem I have failed to solve so far. I need to calculate a subtraction operation with texture surfaces, and I have not yet found a way to do this.
In other words, if a color for pixel (i,j) in textures A and B are denoted cA and cB, I want to carry out the opreation
cC = cA - cB
for the whole texture. The structure of the system guarantees that cA > cB and thus cC > 0.
The only way I have come up with to get a minus sign is to take an inverse: cB -> 1-cB. However, it doesn't help, as
cc = cA - cB = cA + (1-cB) - 1
as now the minus sign is in front of 1.
Does someone know how it would be possible to carry out the texture subtraction? Or is it even possible to do that on hardware?
In other words, if a color for pixel (i,j) in textures A and B are denoted cA and cB, I want to carry out the opreation
cC = cA - cB
for the whole texture. The structure of the system guarantees that cA > cB and thus cC > 0.
The only way I have come up with to get a minus sign is to take an inverse: cB -> 1-cB. However, it doesn't help, as
cc = cA - cB = cA + (1-cB) - 1
as now the minus sign is in front of 1.
Does someone know how it would be possible to carry out the texture subtraction? Or is it even possible to do that on hardware?