Exemplo n.º 1
0
 private IIRUnit ParseUnsigned8BitUnset(string[] tokens, ref int instructionPointer)
 {
     var value = (byte)ParseIntegerLiteral(tokens[1]);
     var result = new IRUnsigned8BitUnset(instructionPointer, value);
     ++instructionPointer;
     return result;
 }
Exemplo n.º 2
0
 public void Visit(IRUnsigned8BitUnset instruction)
 {
 }
Exemplo n.º 3
0
 private IIRUnit replaceUnsigned8BitUnset(IRUnsigned8BitUnset instruction)
 {
     builder.AddWarning("There is no way of unsetting individual bits, using \"Unsigned 8 Write\" instead.");
     return new CustomIRWriteData(instruction.Address, new byte[] { 0 });
 }