示例#1
0
 private IIRUnit ParseUnsigned16BitUnset(string[] tokens, ref int instructionPointer)
 {
     var value = (ushort)ParseIntegerLiteral(tokens[1]);
     var result = new IRUnsigned16BitUnset(instructionPointer, value);
     instructionPointer += 2;
     return result;
 }
示例#2
0
 public void Visit(IRUnsigned16BitUnset instruction)
 {
 }
 private IIRUnit replaceUnsigned16BitUnset(IRUnsigned16BitUnset instruction)
 {
     builder.AddWarning("There is no way of unsetting individual bits, using \"Unsigned 16 Write\" instead.");
     return new CustomIRWriteData(instruction.Address, new byte[] { 0, 0 });
 }