public void TestLeaLabel() { var tokens = new List <Token> { P[PET.LEA], P[PET.DX], P[PET.Comma], P[PET.Label1] }; var command = new LeaCommand(tokens, OperandsSetType.RM); runExpectedExceptionTest(command); }
public void TestLea1() { var tokens = new List <Token> { P[PET.LEA], P[PET.DX], P[PET.Comma], P[PET.WordMemCell] }; var command = new LeaCommand(tokens, OperandsSetType.RM); runTest(command, new List <byte[]> { new byte[] { 0x8D, 0x16, 0x00, 0x00 } }); }