Creating a TableGen Backend

Hello All,

Goal:
I plan to create a Tablegen Backend that :

Takes as Input : (.td) file containing some classes that describes a new instruction format design for an existing PTX ISA.
Outputs : PTX Assembly code

Note : For now , i dont intend to use LLVM IR

I want help (any wiki would do) on how to start / effectively use existing Tablegen Backends to create new ones for above goal.I did not find much info on the internet.Thanks in Advance

Thanks and Regards,
Sahil Chitnis