namespace X86Disassembler.X86.Handlers;
///
/// Interface for instruction handlers
///
public interface IInstructionHandler
{
///
/// Checks if this handler can decode the given opcode
///
/// The opcode to check
/// True if this handler can decode the opcode
bool CanHandle(byte opcode);
///
/// Decodes an instruction
///
/// The opcode of the instruction
/// The instruction object to populate
/// True if the instruction was successfully decoded
bool Decode(byte opcode, Instruction instruction);
}