An instruction meta-class represents an assembler instruction with a specific name and encapsulates logic associated with the instruction. The name of an instruction meta-class is the name of an assembler instruction. Various instruction classes derived from the instruction meta-class represent this assembler instruction followed by various parameter strings.
Every instruction meta-class has an event handler function processing the initialization of instruction classes derived from the instruction meta-class and the invocation of instructions belonging to those instruction classes during model execution. By default, the name of such event handler function is the name of an instruction meta-class.
An instruction class has various identifiers including binary parameters and text parameters convertible from the binary parameters. An instruction meta-class name along with the text parameters converted to canonical form according to a set of rules, such as removing all whitespace characters from a parameter string, make up an instruction class name for identifying instructions belonging to the instruction class in assembler programs.
The initialization of an instruction class by the event handler function of an instruction meta-class typically includes setting the text parameters and the number of instruction outcomes. An invoked assembler instruction sends its outcome to the environment state identification engine to affect the identification of the next state of an assembler program encoding the environment.
|• Instruction Meta-class Function Declaration|
|• Instruction Meta-class Event Handling|
|• Registering the Instruction Meta-class Function|
|• Instruction Class Identifiers|
|• Accessing Binary Instruction Parameters|
|• Setting Text Instruction Parameters|
|• Setting the Number of Instruction Outcomes|
|• Instruction Meta-class Function Layout|