private IIRUnit ParseUnsigned8BitSet(string[] tokens, ref int instructionPointer) { var value = (byte)ParseIntegerLiteral(tokens[1]); var result = new IRUnsigned8BitSet(instructionPointer, value); ++instructionPointer; return result; }
public void Visit(IRUnsigned8BitSet instruction) { }
private IIRUnit replaceUnsigned8BitSet(IRUnsigned8BitSet instruction) { builder.AddWarning("There is no way of setting individual bits, using \"Unsigned 8 Write\" instead."); return new CustomIRWriteData(instruction.Address, new[] { instruction.Value }); }