The syntax highlighting appeared to be proof that NASM can be compiled using the Code::Blocks IDE, until after my errors claiming I need a main() and my discovery that it detected my .asm file as MASM. There is no syntax highlighting for NASM.
Surely this is either a quick fix, or there is a plugin?