Interface InstructionSet
- All Known Implementing Classes:
InstructionSet6502
,InstructionSet6502Switching
,InstructionSetPCode
,InstructionSetSWEET16
,InstructionSetZ80
public interface InstructionSet
InstructionSet is the core mechanism to decode a given program.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
Provides default values that are valid for the InstructionSet.static interface
OpcodeTable provides the mechanism to create string representations of every opcode. -
Method Summary
Modifier and TypeMethodDescriptionDecodes a program into a set of instructions.defaults()
Provides default values that are useful when setting up the Disassembler.Generates an "opcode table" that can be used to generate documentation.
-
Method Details
-
defaults
InstructionSet.Defaults defaults()Provides default values that are useful when setting up the Disassembler. -
decode
Decodes a program into a set of instructions. -
opcodeTables
List<InstructionSet.OpcodeTable> opcodeTables()Generates an "opcode table" that can be used to generate documentation. Each table is 256 bytes; most have 1 but Z80 has 3. Optional.
-