a zero result detector for detecting a zero result in the sum of a first operand a , a second operand b and a carry bit cin operates by calculating } and }+ 1 and then comparing one of these with b }; cin = 1 , }+ 1 ) in dependence upon cin . if the comparison shows equality , then the zero detect result z is true .