Implemented all needed asm functions with GCC inline assembly, now it compiles and runs with huge artifacts