[−][src]Module pir_8_emu::isa::instruction
An instruction is a single byte, and can include some following immediate values purely for data.
Structs
DisplayInstruction | Helper struct for assembly-printing instructions with |
Enums
AluOperation | Any CPU instruction of the pattern |
AluOperationShiftOrRotateDirection | If D is a |
AluOperationShiftOrRotateType | All shifts can be performed left or right, as designated by the |
Instruction | Instructions will increase the PC by one, unless otherwise stated. |
InstructionJumpCondition | This Instruction takes a three bit operand indicating under what condition the jump should be performed. |
InstructionLoadImmediateWideRegisterPair | When performing a wide immediate load, two bytes are read from memory into a pair of registers, as indicated by the two
bits |
InstructionMadrDirection | The |
InstructionPortDirection | The |
InstructionRegisterPair | The |
InstructionStckDirection | The |
ParseInstructionError | An error that could've occurred when parsing an |