An embodiment of the invention is a processor for detecting one or more
groups of instructions and initiating a processor action upon detecting
one or more groups of instructions. The processor includes an instruction
unit for fetching and decoding a group of instructions. An instruction
register receives the group of instruction having at least one
instruction opcode. A control register includes a control word including
a control opcode and an action field defining a processor action. An
execution unit includes compare logic for comparing the instruction
opcode and the control opcode. The execution unit initiates the processor
action upon the compare logic detecting a hit between the instruction
opcode and the control opcode.