コード例 #1
0
ファイル: AadTest.cs プロジェクト: Konctantin/CSharpAssembler
        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);
        }
コード例 #2
0
ファイル: AadTest.cs プロジェクト: Konctantin/CSharpAssembler
        public void Aad()
        {
            var instruction = new Aad();

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