Example #1
0
        public void Aam_imm8()
        {
            var instruction = new Aam(new Immediate(123));

            Assert16BitInstruction(instruction,
                new byte[] { 0xD4, 0x7B });
            Assert32BitInstruction(instruction,
                new byte[] { 0xD4, 0x7B });
            Assert64BitInstructionFails(instruction);
        }
Example #2
0
        public void Aam()
        {
            var instruction = new Aam();

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