public void TestOrRegMemMismatchIdLabel() { var tokens = new List <Token> { P[PET.OR], P[PET.AH], P[PET.Comma], P[PET.Label1] }; var command = new OrCommand(tokens, OperandsSetType.RM); runExpectedExceptionTest(command); }
public void TestOrMemRegMismatch10() { var tokens = new List <Token> { P[PET.OR], P[PET.WordMemCell], P[PET.Comma], P[PET.CH] }; var command = new OrCommand(tokens, OperandsSetType.MR); runExpectedExceptionTest(command); }
public void TestOrRegRegMismatch10() { var tokens = new List <Token> { P[PET.OR], P[PET.DX], P[PET.Comma], P[PET.CL] }; var command = new OrCommand(tokens, OperandsSetType.RR); runExpectedExceptionTest(command); }
public void TestOrMemImMismatch() { var tokens = new List <Token> { P[PET.OR], P[PET.ByteMemCell], P[PET.Comma], P[PET.WordConst] }; var command = new OrCommand(tokens, OperandsSetType.MI); runExpectedExceptionTest(command); }
public void TestOrRegMemMismatch10() { var tokens = new List <Token> { P[PET.OR], P[PET.AX], P[PET.Comma], P[PET.ByteMemCell] }; var command = new OrCommand(tokens, OperandsSetType.RM); runExpectedExceptionTest(command); }
public void TestOrRegMem1() { var tokens = new List <Token> { P[PET.OR], P[PET.BX], P[PET.Comma], P[PET.WordMemCell] }; var command = new OrCommand(tokens, OperandsSetType.RM); runTest(command, new List <byte[]> { new byte[] { 0x0B, 0x1E, 0x00, 0x00 } }); }
public void TestOrRegMem0() { var tokens = new List <Token> { P[PET.OR], P[PET.AH], P[PET.Comma], P[PET.ByteMemCell] }; var command = new OrCommand(tokens, OperandsSetType.RM); runTest(command, new List <byte[]> { new byte[] { 0x0A, 0x26, 0x00, 0x00 } }); }
public void TestOrRegReg1() { var tokens = new List <Token> { P[PET.OR], P[PET.BX], P[PET.Comma], P[PET.AX] }; var command = new OrCommand(tokens, OperandsSetType.RR); runTest(command, new List <byte[]> { new byte[] { 0x0B, 0xD8 } }); }
public void TestOrMemIm11() { var tokens = new List <Token> { P[PET.OR], P[PET.WordMemCell], P[PET.Comma], P[PET.WordConst] }; var command = new OrCommand(tokens, OperandsSetType.MI); runTest(command, new List <byte[]> { new byte[] { 0x81, 0x0E, 0x00, 0x00, 0x10, 0x27 } }); }
public void TestOrMemIm00() { var tokens = new List <Token> { P[PET.OR], P[PET.ByteMemCell], P[PET.Comma], P[PET.ByteConst] }; var command = new OrCommand(tokens, OperandsSetType.MI); runTest(command, new List <byte[]> { new byte[] { 0x80, 0x0E, 0x00, 0x00, 0x64 } }); }
public void TestOrRegIm11() { var tokens = new List <Token> { P[PET.OR], P[PET.DX], P[PET.Comma], P[PET.WordConst] }; var command = new OrCommand(tokens, OperandsSetType.RI); runTest(command, new List <byte[]> { new byte[] { 0x81, 0xCA, 0x10, 0x27 } }); }
public void TestOrRegIm10() { var tokens = new List <Token> { P[PET.OR], P[PET.CX], P[PET.Comma], P[PET.ByteConst] }; var command = new OrCommand(tokens, OperandsSetType.RI); runTest(command, new List <byte[]> { new byte[] { 0x83, 0xC9, 0x64 } }); }
public void TestOrRegReg0() { var tokens = new List <Token> { P[PET.OR], P[PET.DL], P[PET.Comma], P[PET.CH] }; var command = new OrCommand(tokens, OperandsSetType.RR); runTest(command, new List <byte[]> { new byte[] { 0x0A, 0xD5 } }); }
public void TestOrMemReg1() { var tokens = new List <Token> { P[PET.OR], P[PET.WordMemCell], P[PET.Comma], P[PET.DX] }; var command = new OrCommand(tokens, OperandsSetType.MR); runTest(command, new List <byte[]> { new byte[] { 0x09, 0x16, 0x00, 0x00 } }); }
public void Or(OrCommand command) { Binary("D=M|D"); }