U8/U9 chips are interchangeable if the # on the chip is the same. There is no memory or program on them, they act only as "switches" so to speak, gated logic.