[llvm-dev] constant string as an assembly operand
Sky Flyer via llvm-dev
llvm-dev at lists.llvm.org
Thu Nov 5 06:20:45 PST 2015
Hello all,
how can one can describe a constant string as an operand in the assembly
instruction?
for example imagine this instruction:
xyz 14 ABC
where "xyz" is the operator, 14 is an immediate value, and because of
assembly dialect, there should be a constant string with the value of ABC
follow the immediate value. How is this possible?
What should be the dat describing the instruction?
string asm = "xyz $val ABC"
dag iops = (ins i8imm:val, ... )
Cheers,
ES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151105/3943fea5/attachment.html>
More information about the llvm-dev
mailing list