Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public void Visit(IRUnsigned32BitUnset instruction)
 {
 }
Exemplo n.º 3
0
 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 });
 }