public static string FormatOperation(X64Instruction instruction) { return(instruction.Name); }
public static string FormatOperation(X64Instruction instruction, string operand1, string operand2) { return(instruction.Name + " " + operand1 + ", " + operand2); }
public static string FormatOperation(X64Instruction instruction, X64StorageLocation operand1, X64StorageLocation operand2, X64StorageLocation operand3) { return(instruction.Name + " " + operand1.ToCode() + ", " + operand2.ToCode() + ", " + operand3.ToCode()); }
public static string FormatOperation(X64Instruction instruction, X64StorageLocation operand) { return(instruction.Name + " " + operand.ToCode()); }