<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 2:33 AM, Tamazov, Artem <span dir="ltr"><<a href="mailto:Artem.Tamazov@amd.com" target="_blank">Artem.Tamazov@amd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:purple">You can good examples in llvm/test/MC/AsmParser.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:purple">I guess .ascii directive should do the job for you.</span></p></div></div></blockquote><div><br></div><div>Oh, that is .string. Thanks for the pointer, Artem!<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:purple"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:purple" lang="RU">--</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:purple">artem//<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:purple"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> llvm-dev [mailto:<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists.llvm.org</a>]
<b>On Behalf Of </b>Jun Koi via llvm-dev<br>
<b>Sent:</b> 17 February, 2016 19:18<br>
<b>To:</b> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<b>Subject:</b> [llvm-dev] How to define data for X86 assembler?<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Is there any documentation on the syntax accepted by X86 assembler?<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I have this code in my .asm file to define data:<br>
<br>
text db "127.1.1.1 <a href="http://google.lk" target="_blank">google.lk</a>"<u></u><u></u></p>
</div>
<p class="MsoNormal">But X86 assembler fails to understand it, with error:<br>
<br>
error: unexpected token in argument list<br>
text db "127.1.1.1 <a href="http://google.lk" target="_blank">google.lk</a>"<u></u><u></u></p>
</div>
<p class="MsoNormal"> ^<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Any ideas how to fix this problem?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I tried to find some documentation on the syntax for X86 assembler, to no avail.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Jun<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div></div>