Semantics: Simple State Machines

The semantics of simple state machines is explained with the following examples.