Beispiel #1
0
 private IIRUnit ParseUnsigned32BitUnset(string[] tokens, ref int instructionPointer)
 {
     var value = (uint)ParseIntegerLiteral(tokens[1]);
     var result = new IRUnsigned32BitUnset(instructionPointer, value);
     instructionPointer += 4;
     return result;
 }
 public void Visit(IRUnsigned32BitUnset instruction)
 {
 }
 private IIRUnit replaceUnsigned32BitUnset(IRUnsigned32BitUnset instruction)
 {
     builder.AddWarning("There is no way of unsetting individual bits, using \"Unsigned 32 Write\" instead.");
     return new CustomIRWriteData(instruction.Address, new byte[] { 0, 0, 0, 0 });
 }