CPU initialize  state machine