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); }
public void Aad() { var instruction = new Aad(); Assert16BitInstruction(instruction, new byte[] { 0xD5, 0x0A }); Assert32BitInstruction(instruction, new byte[] { 0xD5, 0x0A }); Assert64BitInstructionFails(instruction); }