@Test
public void testInstructionParseWithModifier()
{
String line = "0x00007f447590414d: data32 xchg %ax,%ax";
AssemblyInstruction instr = AssemblyUtil.createInstruction(line);
assertNotNull(instr);
assertEquals(Long.parseLong("7f447590414d", 16), instr.getAddress());
assertEquals("data32", instr.getModifier());
assertEquals("xchg", instr.getMnemonic());
List<String> operands = instr.getOperands();
assertEquals(2, operands.size());
assertEquals("%ax", operands.get(0));
assertEquals("%ax", operands.get(1));
assertEquals(S_EMPTY, instr.getComment());
}