This project is result of my "custom CPU" efforts. While CPU project itself is getting somehow rusty, I spent most of my free time on this one. I present you assembler toolchain that is possible (and hopefully easy) to port for new architecture.
Toolchain contain main three parts that is needed for embedded like development, assembler, linker and archiver. Assembler is equipped with simple preprocessor and linker is able to link static libraries and also do some magic with code sections.
Everything is written in pure C99, there is no compiler dependency at all, so once you get C99 compiler for your architecture working, you can also build this quite simply. Only one dependency is standard library.
For build instructions you should visit doc folder in repository, there is file called build.md that contain all necessary information. But as project is cmake based, everything you have to do is basically this: