Hi,<div>  I'm in the process of adding a X86 ASM Printer for outputting the asm in a style that Yasm can take without any post processing. Yasm's format is very close to that of intel.  I was wondering if my approach is correct:</div>

<div><br></div><div>I've made a custom MCAsmStreamer to remove some of the COFF symbol directives that yasm doesn't understand.</div><div><br></div><div>I've made a X86YasmInstPrinter, and added it to the <a href="http://x86.td" target="_blank">x86.td</a>, as a new variant, and due to it having a new Variant number, I'm having to edit all the X86*.td files and add the extra variant's descriptions in the { | } blocks.</div>

<div><br></div><div>I've also added a new ASMInfo class with the required changes for yasm.</div><div><br></div><div><br></div><div>Now what is worrying me is the number of .td files I'm having to touch, and most of the changes are adding a variant with exactly the same code as the intel variant, there are just a few cases that a slightly different.</div>
<div><br></div><div>I'm about 1/4 way through the .td files, and already the asm is starting to look close to something yasm could handle, so I must be at least on the right track, but that size of the changes to the .td files is alarming.</div>
<div><br></div><div>Any pointers, or suggestions welcome :-)</div><div><br></div><div>Cheers</div><div><br></div><div>Matthew.</div><div><br></div>