Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/16/01 08:15
Read: times


 
#13235 - RE: Mix language
Hi Michael,

I must disagree you on every point.
It tells me, that you never used C on the 8051 earnest.

I used assembler several years and now C. And I'm impressed about the compact and fast code, generated with C.
My (still true) comparison results can you found at:

http://www.specs.de/~danni/compars/index.htm


Also you can see a whole project, written in C on:

http://www.specs.de/~danni/ap.../index.htm

I can say, this project in assembler should only about 20% more compact, but 3 times in size of the source code and need 10 times longer to write it. Also harder to understand from another people, which must maintenance projects after you.

Also some times the speed grows on C. E.g. my 32 bit multiplication in assembler was more than 2 times slower, than the library function of the C compiler. And also bigger in size.

Yes, it helps, if you have assembler experience to write also compact C programs. But it need many more experience to write compact and fast assembler programs.

As I started with C, I mixed also assembler and C.
And now I write C only, since I discovered, that fighting against 1µs on every 100µs was not worth the discomfort.



Peter


List of 19 messages in thread
TopicAuthorDate
Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Raisonance v Keil            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      
RE: Mix language            01/01/70 00:00      

Back to Subject List