Whatever the language you're using, just get the job done and that's it.
mvs_sarma, you have many good points which i agree with. Writing in assembler , even if looks monster and painfull, have it's advantages. I wish i could go back and learn Assembler first.. bah too late 
At least, someone's beginning programming in assembler will probably learn better how to use, set-up, the internal PIC ressources... as there's nothing already done. Let's say ADCIN, HSEROUT etc etc. Better hardware understanding.
Also it force the programmer to use it's brain a little bit much. Let's say someone want to compute a multicondition IF THEN ELSE like
Code:
IF (ByteA<300) AND (ByteC>=ByteA) AND (ByteC+ByteD<127) then...
Obviously, knowing how many assembler instruction you have, and what's available, he will spend more time to write the code than with any compiler.
But both will produce the same result, one will be faster to write.
Better because it's written in assembler? no, 'cause both work. Maybe one may need more codespace... but less time to write.
I will stop here and stick on my opinion. Nothing is better, if the final code/product works as expected and bug-free.
Sure i don't reject any language advantages. You just have to trust the compiler you're using.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks