<div dir="ltr">Ouch. Okay we *are* in fact looking at the difference between Intel (asasm) and AT&amp;T (gas [also, yuck]) syntax. <div><br></div><div style>If there isn&#39;t that much asm code, we can translate it by hand. If there&#39;s a whole lot of it, maybe it would be more productive to try to parse out the AST and then pretty print it out to AT&amp;T syntax. Macros might make that really hard, though.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 6:03 PM, tim Rowledge <span dir="ltr">&lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><br>
On 24-06-2013, at 5:53 PM, Casey Ransberger &lt;<a href="mailto:casey.obrien.r@gmail.com">casey.obrien.r@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Is it minor variance in syntax or are we talking the difference between at&amp;t and intel assembler? How much assembly code is there? I wasn&#39;t able to find anything on this asasm, can you point me at something?<br>

<br>
It turns out (I had no idea that it even existed, I&#39;ve never made use of the root project) that it is part of the gcc-for-RISC OS project. There is a linux version (obviously, or I wouldn&#39;t have had the problem) which I was given along with the blt sources.<br>

<br>
With no experience in using `gas` I can&#39;t really even guess at what the differences might be, though at least the actual instructions must surely be the same! Although, given the way of the world, maybe not. For an example, here is the asm file for the x11 helper routine, written for the same asasm tool<br>

<br><br>
<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" target="_blank">http://www.rowledge.org/tim</a><br>
Oxymorons: Sweet sorrow<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Casey Ransberger
</div>