A state machine provides a power reducing capability by turning off a
clock signal to a memory which stores the state of the state machine.
Preferably, the state machine is connected to receive information from an
external circuit, typically a system to be controlled by the state
machine. The state machine includes a programmable memory in which each
row stores a word representing output information as a sequence of bits.
It also includes a register which stores the state of the state machine
when the memory is not active. The state machine includes a selection
circuit which selects a next state of the state machine. When the next
state of the state machine is selected to be the same as the previous
state the clock signal to the memory is turned off, enabling reduced
power consumption by the state machine.