Entropy generation in a model of reversible computation