You did not say how you will implement (IDE or command line). If you want some sample code, e2studio will generate a GNU project for G12. Since the start up code is assembler you will also get a sample linker file that links in Assembly code. Also, if you go to Renesas Software Library ( am.renesas.com/.../sample_code.do ) and filter on Products - RL78/G12 you will see several GNU sample projects (source column tells you tool chain used for sample code). Hope this helps. Good luck.
↧