Introduce asm assert and optimize crash reporting

This patch set introduces support for assertion in assembly and series of patches to enable and print to the console without C runtime. Also the crash reporting is now optimized to use less memory.