public override void RunInstruction(InterpreterState state) { if (state.GetCurrentValue() != 0) { state.CurrentInstruction = MatchingInstruction; Debug.WriteLine(Number + ": !0 Jumping to " + MatchingInstruction.Number); } }
public override void RunInstruction(InterpreterState state) { var ch = (byte)state.GetCurrentValue(); char c = Encoding.ASCII.GetChars(new[] { ch })[0]; Console.Write(c); }