Is impossible insert assembler block and add asm file to project. My suggestion is possibility adding obj compiled asm->obj. Some projects require assembler.
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system