public void TestXorRegMemMismatchIdLabel() { var tokens = new List <Token> { P[PET.XOR], P[PET.AH], P[PET.Comma], P[PET.Label1] }; var command = new XorCommand(tokens, OperandsSetType.RM); runExpectedExceptionTest(command); }
public void TestXorMemRegMismatch10() { var tokens = new List <Token> { P[PET.XOR], P[PET.WordMemCell], P[PET.Comma], P[PET.CH] }; var command = new XorCommand(tokens, OperandsSetType.MR); runExpectedExceptionTest(command); }
public void TestXorRegRegMismatch10() { var tokens = new List <Token> { P[PET.XOR], P[PET.DX], P[PET.Comma], P[PET.CL] }; var command = new XorCommand(tokens, OperandsSetType.RR); runExpectedExceptionTest(command); }
public void TestXorMemImMismatch() { var tokens = new List <Token> { P[PET.XOR], P[PET.ByteMemCell], P[PET.Comma], P[PET.WordConst] }; var command = new XorCommand(tokens, OperandsSetType.MI); runExpectedExceptionTest(command); }
public void TestXorRegMem1() { var tokens = new List <Token> { P[PET.XOR], P[PET.BX], P[PET.Comma], P[PET.WordMemCell] }; var command = new XorCommand(tokens, OperandsSetType.RM); runTest(command, new List <byte[]> { new byte[] { 0x33, 0x1E, 0x00, 0x00 } }); }
public void TestXorRegMem0() { var tokens = new List <Token> { P[PET.XOR], P[PET.AH], P[PET.Comma], P[PET.ByteMemCell] }; var command = new XorCommand(tokens, OperandsSetType.RM); runTest(command, new List <byte[]> { new byte[] { 0x32, 0x26, 0x00, 0x00 } }); }
public void TestXorRegReg1() { var tokens = new List <Token> { P[PET.XOR], P[PET.BX], P[PET.Comma], P[PET.AX] }; var command = new XorCommand(tokens, OperandsSetType.RR); runTest(command, new List <byte[]> { new byte[] { 0x33, 0xD8 } }); }
public void TestXorMemIm11() { var tokens = new List <Token> { P[PET.XOR], P[PET.WordMemCell], P[PET.Comma], P[PET.WordConst] }; var command = new XorCommand(tokens, OperandsSetType.MI); runTest(command, new List <byte[]> { new byte[] { 0x81, 0x36, 0x00, 0x00, 0x10, 0x27 } }); }
public void TestXorMemIm00() { var tokens = new List <Token> { P[PET.XOR], P[PET.ByteMemCell], P[PET.Comma], P[PET.ByteConst] }; var command = new XorCommand(tokens, OperandsSetType.MI); runTest(command, new List <byte[]> { new byte[] { 0x80, 0x36, 0x00, 0x00, 0x64 } }); }
public void TestXorRegIm11() { var tokens = new List <Token> { P[PET.XOR], P[PET.DX], P[PET.Comma], P[PET.WordConst] }; var command = new XorCommand(tokens, OperandsSetType.RI); runTest(command, new List <byte[]> { new byte[] { 0x81, 0xF2, 0x10, 0x27 } }); }
public void TestXorRegIm10() { var tokens = new List <Token> { P[PET.XOR], P[PET.CX], P[PET.Comma], P[PET.ByteConst] }; var command = new XorCommand(tokens, OperandsSetType.RI); runTest(command, new List <byte[]> { new byte[] { 0x83, 0xF1, 0x64 } }); }
public void TestXorMemReg1() { var tokens = new List <Token> { P[PET.XOR], P[PET.WordMemCell], P[PET.Comma], P[PET.DX] }; var command = new XorCommand(tokens, OperandsSetType.MR); runTest(command, new List <byte[]> { new byte[] { 0x31, 0x16, 0x00, 0x00 } }); }