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