public void AddFunction(ulong refId) { Untrack(); var unit = new InstructionUnit(refId); _units.Add(unit); _current = unit; }
public bool SelectFunction(ulong refId) { Untrack(); foreach (var unit in _units) { if (unit.RefId != refId) { continue; } _current = unit; return(true); } return(false); }
public void Untrack() { _current = null; }
public InstructionBase() { _units = new List <InstructionUnit>(); _current = null; }