public Instruction(uint address, uint code) { this.Address = address; this.Code = code; InstructionEntry instructionEntry = InstructionTables.GetInstruction(code); if (instructionEntry == null) { Debug.WriteLine(string.Format("Instruction::ctor: no entry found for code {0:X8} at {1:X8}", code, address)); } else { Debug.Assert(instructionEntry.Formatter != null); bool formatted = instructionEntry.Formatter(address, code, instructionEntry, out this.Opcode, out this.Operands); Debug.Assert(formatted == true); } }
public TableReference( InstructionTables.InstructionEncoding reference ) { this.Reference = reference; }