[LLVMdev] Hello World assembly without clib "puts"?
craig.topper at gmail.com
Sat Sep 29 17:43:20 PDT 2012
The low level details of sending text to the terminal are very OS and
target specific. It generally requires putting the values into specific
registers and triggering an interrupt. The only way to represent this
behavior in LLVM IR would by adding new target specific intrinsics that can
be converted during instruction selection to the right machine instructions.
On Sat, Sep 29, 2012 at 5:05 PM, Andrew Pennebaker <
andrew.pennebaker at gmail.com> wrote:
> Can Hello World be written in LLVM assembly without using a C library
> function like "puts"?
> Andrew Pennebaker
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev