Instruction
class Instruction
Represents an instruction, listing the valid addressing modes and their corresponding opcodes.
DEFINITION
class Instruction;
method has_addressing_modeconst
DEFINITION
| bool has_addressing_mode | ( | Symbol addressing_mode | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
addressing_mode |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method opcodeconst
DEFINITION
| uint64_t opcode | ( | Symbol addressing_mode | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
addressing_mode |
| RETURNS | DESCRIPTION |
|---|---|
uint64_t |
member opcodes
DEFINITION
std::unordered_map< Symbol, uint64_t > opcodes;