[LLVMdev] MOS6502 target

Roel Jordans r.jordans at tue.nl
Thu Jul 3 01:57:16 PDT 2014


Hi,

I found the tutorial presented at last LLVM conference very helpful when 
starting on my own backend.  Especially with the GitHub repository 
containing a template backend that was quite easy to rename and extend.

Here's the slides with a pointer to the repository:

http://llvm.org/devmtg/2014-04/PDFs/Talks/Building%20an%20LLVM%20backend.pdf

Cheers,
  Roel

On 03/07/14 03:23, Edwin Amsler wrote:
> Hey there!
>
> I've started to embark on a path to try and create a backend for a 39 year old CPU with only an accumulator, two index registers, and a 256 byte stack. It does have a bank of 256 bytes before the stack that are pretty quick though.
>
> Really, if I can get an assembler out of `llc`, that'll be success enough for me. Clang would be better, but I think that might be crazy talk.
>
> I've been doing lots of research so far, but from the experts, how feasible does this sound?
>
> I've also been banging my head against the wall trying to figure out what all the classes for different instruction types do. Is there a nicely documented index? Is it in source somewhere, or should I start one?
>
> Thanks,
>
> Edwin
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list