I'm studying Moore and Mealy machines, everything works fine, until I found a Moore machine where output was not listed.I know that outputs of Moore machines depend of present state, but how can I figure out the output in my case? If u ask me about the output of below machine, I'd say is '100'. But why is '100' and not '000' or '010' ?
Your example requires 3 registers xxx shown in each state. All 3 registers define a unique state of which there are 5 shown.
You can define another output =1 uniquely from each state with gates or use the 3 registers as your outputs as shown. Undefined states, not shown are 011,110,111 or 3,6,7 in BCD. It is assumed a clock transition defines the next state from the present state.
A register is merely a memory state using a Flip Flop.