예제 #1
0
        public void TestJneWordMemCell()
        {
            var tokens = new List <Token> {
                P[PET.JNE], P[PET.WordMemCell]
            };
            var command = new JneCommand(tokens, OperandsSetType.M);

            runExpectedExceptionTest(command);
        }
예제 #2
0
        public void TestJneLabel()
        {
            var tokens = new List <Token> {
                P[PET.JNE], P[PET.Label1]
            };
            var command = new JneCommand(tokens, OperandsSetType.M);

            runTest(command, new List <byte[]> {
                new byte[] { 0x0F, 0x85, 0x00, 0x00 }
            });
        }