|
Gymbo
|
Class representing an instruction. More...
#include <type.h>
Public Member Functions | |
| Instr (InstrType instr) | |
| Constructor for an instruction without additional data. More... | |
| Instr (InstrType instr, Word32 word) | |
| Constructor for an instruction with additional data. More... | |
| void | print () const |
| Prints a human-readable representation of the instruction. More... | |
| std::string | toString () const |
| Converts the instruction to a string representation. More... | |
Public Attributes | |
| InstrType | instr |
| Word32 | word |
Class representing an instruction.
|
inline |
Constructor for an instruction without additional data.
| instr | The type of the instruction. |
Constructor for an instruction with additional data.
| instr | The type of the instruction. |
| word | Additional data associated with the instruction. |
|
inline |
Prints a human-readable representation of the instruction.
|
inline |
Converts the instruction to a string representation.
| InstrType gymbo::Instr::instr |
| Word32 gymbo::Instr::word |