[llvm-dev] How to define data for X86 assembler?

Tamazov, Artem via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 17 10:33:51 PST 2016


You can good examples in llvm/test/MC/AsmParser.
I guess .ascii directive should do the job for you.
--artem//

From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Jun Koi via llvm-dev
Sent: 17 February, 2016 19:18
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] How to define data for X86 assembler?

Hi,
Is there any documentation on the syntax accepted by X86 assembler?
I have this code in my .asm file to define data:

    text db "127.1.1.1 google.lk<http://google.lk>"
But X86 assembler fails to understand it, with error:

    error: unexpected token in argument list
    text db "127.1.1.1 google.lk<http://google.lk>"
                ^

Any ideas how to fix this problem?
I tried to find some documentation on the syntax for X86 assembler, to no avail.
Thank you,
Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160217/508c6979/attachment.html>


More information about the llvm-dev mailing list