Extension should be 'asm' but how command line?
In Visual Studio is:
Command Line:
ml -c "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)"
Outputs:
$(IntDir)%(FileName).obj;%(Outputs)
Assembler name is "ml", which is assembler name in Code:Blocks?