Hello I just want know Does keil generate .cof file and if yes then how to generate .cof file?
You didn't bother reading those links, then.
http://www.keil.com/support/man/docs/mcb9xx/mcb9xx_wp_build.htm