On Feb 2, 2009, at 1:01 AM, Rudskyy wrote:
> Hallo!
>
> I have found the LLVM-project and hope it can be useful for me in my
> work.
> There is a processor with a simple assembly code (http://
> hilscher.com/ xPEC- processor).
> The task is that I need a “translator” from C/C++ to native assembly
> code.
> And understand, that I need to write a backend specifying my target
> (convertion a llvm-IR code to assembly).
> Can you help, suggest to start from?
>
Hi Rudskyy,
This is a webpage explaining how to write a backend:
http://llvm.org/docs/WritingAnLLVMBackend.html
It would also be good to peruse the other LLVM docs to get a feel for
how it all works:
http://llvm.org/docs/
-bw