private void OpCall(MipsOp[] callTable, Int32 index, MipsInstruction inst) { /* NOP */ if (inst.Instruction == 0) { return; } MipsOp call = callTable[index]; if (call != null) { call(inst); } else { throw new InvalidOperationException("Unsupport Instruction: " + inst.ToString()); } }
private void OpCall(MipsOp[] callTable, Int32 index, MipsInstruction inst) { /* NOP */ if (inst.Instruction == 0) return; MipsOp call = callTable[index]; if (call != null) { call(inst); } else { throw new InvalidOperationException("Unsupport Instruction: " + inst.ToString()); } }
protected void TraceOp(Int64 pc, MipsInstruction inst) { if (logger.IsDebugEnabled) logger.Debug("{0:X8} {1:X4} {2:X4} {3}", pc, inst.Instruction >> 16, inst.Instruction & 0xFFFF, inst.ToString()); }
protected void TraceOp(Int64 pc, MipsInstruction inst) { if (logger.IsDebugEnabled) { logger.Debug("{0:X8} {1:X4} {2:X4} {3}", pc, inst.Instruction >> 16, inst.Instruction & 0xFFFF, inst.ToString()); } }