Do you inline assembly with the "module asm" instruction?
On Mon, May 16, 2011 at 9:34 PM, Charles Davis <cdavis at
mymail.mines.edu>wrote:
> On 5/16/11 10:30 PM, Hans Stimer wrote:
> > How do you do this in LLVM?
> >
> > open:
> > push dword mode
> > push dword flags
> > push dword path
> > mov eax, 5
> > push eax ; Or any other dword
> > int 80h
> > add esp, byte 16
> Same as in C: either with inline assembly, or by calling syscall(2).
>
> Chip
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20110516/76ee4713/attachment.html>