The invention relates to generating a test suite of instructions for
testing the operation of a processor. A fuzzy finite state machine with a
plurality of states 2 and transitions 4 determined by weights W1, W2 . .
. W10 is used to generate a sequence of instructions. The weights
determine the next state as well as an instruction and operands for each
state. The weights may be adapted based on the generated sequence and
further sequences are generated.