/// <summary> /// Populate the ComputedValue object with the results determined from the earlier-set ValueLeft, ValueMiddle, ValueRight, and OpCode /// For use on the first pass for opcodes that do not accept a label /// </summary> /// <param name="opcode"></param> public void ParseValue(Assembly.OpCode opcode) { if (labelUsers.Contains(opcode)) { return; } parseValue(); setValue(ComputedValue.GetNumeral()); }
/// <summary> /// Populate the ComputedValue object with the results determined from the earlier-set ValueLeft, ValueMiddle, ValueRight, and OpCode /// For use on the second pass for opcodes that use a label /// </summary> /// <param name="opcode"></param> /// <param name="Assembly.AddressingMethod"></param> /// <param name="pc"></param> public void ParseValue(Assembly.OpCode opcode, Assembly.AddressingMethod AddressingMethod, ushort pc) { if (!(labelUsers.Contains(opcode))) { return; } parseValue(); setValue(AddressingMethod, pc); return; }