http://persiane.ir/Base-conversion-program-logical-circuit.html