A solution to the read-modify-write problem for mixed tri-state chip
processors by implementing a simple hardware change. This change could
easily be built into microcontrollers and other chip processors to once
and for all solve the problem. The present invention uses at least one
logic gate to route data from the output of the data register back to
itself instead of from the input pin during reads; the correct value
stays in the output register at all times.