[−][src]Module olympia_core::instructions
Instruction components that can be applied to any instruction.
It does not contain instructions themselves,
these are included in olympia_engine
Structs
ByteRegisterOffset | |
InstructionDefinition | |
OpcodePosition | Details to embed/extract a param into an opcode. |
ParamDefinition | Instruction parameter definition |
ParseError | Represents a value that failed to parse |
Enums
ALOp | All supported ALU operations |
AccRegister | 16bit Register group that includes the accumalator register. |
AppendedParam | All types of param that can be expected in subsequent bytes to the opcode |
ByteRegisterTarget | A operand that can either target a 8-bit register (excluding F) or the memory address referenced by the HL register. |
Carry | Whether to include the Carry bit in operations. This does not affect setting the carry bit, only reading it. |
Condition | Checks for conditional instructions |
ConstantParam | Represents a param that has a constant value |
ExtensionType | Defines whether an opcode is part of the standard table or the extended table. |
Increment | Whether an instruction should increment or decrement its operand. |
InnerParam | All types of operand allowed to be embedded in an opcode |
ParamPosition | Position that a param occupies in an instruction |
ParamType | Represents a parameter for a given opcode |
RotateDirection | Direction to rotate/shift operand |
StackRegister | Registers group that includes the stack register |
Traits
AppendableParam | |
EmbeddableParam | A value that can be embedded in an opcode |
Instruction | |
InstructionOpcode | An instruction with embedded opcode parameters included, but not those parameters that are in subsequent instructions |
SerializableInstruction |