Exemplo n.º 1
0
        public void Aad_imm8()
        {
            var instruction = new Aad(new Immediate(123));

            Assert16BitInstruction(instruction,
                new byte[] { 0xD5, 0x7B });
            Assert32BitInstruction(instruction,
                new byte[] { 0xD5, 0x7B });
            Assert64BitInstructionFails(instruction);
        }
Exemplo n.º 2
0
        public void Aad()
        {
            var instruction = new Aad();

            Assert16BitInstruction(instruction,
                new byte[] { 0xD5, 0x0A });
            Assert32BitInstruction(instruction,
                new byte[] { 0xD5, 0x0A });
            Assert64BitInstructionFails(instruction);
        }