Is it legal to generate commercial purpose code on evaluation software of keil.Code is small less than 4K.
Yes, it is - see: http://www.keil.com/demo/limits.asp
They're now calling it the "Lite" version - rather than "evaluation".