A microprogrammable electronic device comprising a code memory storing a plurality of instructions, at least one of said instructions, when executed by the microprogrammable electronic device, being such as to cause the microprogrammable electronic device to enter into a wait state associated with a plurality of predefined wait state exit conditions, said microprogrammable electronic device being characterized by being configured:
- to load into an electronic table each of said predefined wait state exit conditions together with a corresponding code memory address of an instruction to be executed if the predefined wait state exit condition occurs;
- when it is in said wait state, to execute a wait instruction stored in said code memory and which, when executed, is such as to cause the microprogrammable electronic device to check simultaneously said predefined wait state exit conditions loaded into said electronic table to detect if at least one of said predefined wait state exit conditions occurs;
- and
- if one of said checked predefined wait state exit conditions occurs, to exit from said wait state and to execute the instruction stored in the code memory at the code memory address loaded into the electronic table together with said predefined wait state exit condition that has occurred.