Adding inline assembly support to tcc-816

I would like to add support for inline assembly to the 65816 version of the TCC compiler so that I can write both C and asm code at the same time in PVsneslib. Does anyone know what the official way to contribute to TCC is?

On this page you’ll find a link to a mailing list, and also commentary which implies there have been various forks - it’s possible there is no active main line. On the other hand, this linked repository seems to be active and has information on how to contribute.

This is our current working repository for the Tiny C Compiler.
If you have questions or suggestions, please write to the TinyCC mailing list.
If you want to contribute patches, push them directly here on our “mob” branch.

1 Like

Thanks. PVsneslib appears to have both .c and .asm files in the repo, but doesn’t mix C and assembly in a single file. So perhaps I can put all my assembly in .asm files instead.

1 Like

tcc appears to have strcat in tcclib.h but not string.h, so I think I want shift gears to improving the string support.

1 Like