public void TestNotMemLabel()
        {
            var tokens = new List <Token> {
                P[PET.NOT], P[PET.Label1]
            };
            var command = new NotCommand(tokens, OperandsSetType.M);

            runExpectedExceptionTest(command);
        }
        public void TestNotReg1()
        {
            var tokens = new List <Token> {
                P[PET.NOT], P[PET.BX]
            };
            var command = new NotCommand(tokens, OperandsSetType.R);

            runTest(command, new List <byte[]> {
                new byte[] { 0xF7, 0xD3 }
            });
        }
        public void TestNotMem1()
        {
            var tokens = new List <Token> {
                P[PET.NOT], P[PET.WordMemCell]
            };
            var command = new NotCommand(tokens, OperandsSetType.M);

            runTest(command, new List <byte[]> {
                new byte[] { 0xF7, 0x16, 0x00, 0x00 }
            });
        }
Exemple #4
0
 public void Not(NotCommand command)
 {
     Unary("M=!M");
 }