Add cpu state to control instruction parsing