public void TestIdivMemLabel() { var tokens = new List <Token> { P[PET.IDIV], P[PET.Label1] }; var command = new IdivCommand(tokens, OperandsSetType.M); runExpectedExceptionTest(command); }
public void TestIdivMem1() { var tokens = new List <Token> { P[PET.IDIV], P[PET.WordMemCell] }; var command = new IdivCommand(tokens, OperandsSetType.M); runTest(command, new List <byte[]> { new byte[] { 0xF7, 0x3E, 0x00, 0x00 } }); }
public void TestIdivReg1() { var tokens = new List <Token> { P[PET.IDIV], P[PET.BX] }; var command = new IdivCommand(tokens, OperandsSetType.R); runTest(command, new List <byte[]> { new byte[] { 0xF7, 0xFB } }); }