Package net.emustudio.emulib.plugins.cpu
Interface Decoder
-
public interface DecoderAn instruction decoder interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecodedInstructiondecode(int memoryPosition)Decodes an instruction.
-
-
-
Method Detail
-
decode
DecodedInstruction decode(int memoryPosition) throws InvalidInstructionException
Decodes an instruction.- Parameters:
memoryPosition- the address of the start of the instruction- Returns:
- the decoded instruction object
- Throws:
InvalidInstructionException- when decoding is not successful
-
-