??? 03/13/06 17:32 Read: times |
#112091 - what do you mean about "learning" Responding to: ???'s previous message |
Also what is normal learning curve in time to learn 8051 core in years?
what do you mean about "learning"? never in doubt?, sometimes in doubt? When I started with the '51 20 years ago, I was constantly "in doubt" now I am "in doubt" a few times a year and screw up, because I should have been "in doubt" and was not, about once every two. why should I learn assembler first before C code and when should I use both? The assembly code gives you an insight in the workings of the bugger that C never will. Knowledge of the underlying assembly is essential to writing efficient C. An experiment I once conducted with rewriting something in "efficient C" that was written as "true C" by someone else showed enormous gains in reduced code size and faster throughput. Classic examples are the use of malloc, function pointers, ints where char will do ..... As to using both: use C when it suffices, assembler when it does not. I have some functions that are too slow in C running on a 100MHz one clocker, in assembly they are 3 times faster. The basic gain comes from things like knowing that a movx @Ri will not cross a page boundary, C can not "have that knowledge". For plain vanilla operations in internal RAM there is not much gain using assembler. Erik |
Topic | Author | Date |
MC68hc705c8s or 8051 | 01/01/70 00:00 | |
I've worked with both... | 01/01/70 00:00 | |
people dont change | 01/01/70 00:00 | |
Been Tried | 01/01/70 00:00 | |
Used both, different view | 01/01/70 00:00 | |
What would be the point? | 01/01/70 00:00 | |
Master of one. | 01/01/70 00:00 | |
How about 89c2051 | 01/01/70 00:00 | |
Stream of consciousness... | 01/01/70 00:00 | |
Fuzzy | 01/01/70 00:00 | |
It's just another component | 01/01/70 00:00 | |
what do you mean about "learning" | 01/01/70 00:00 | |
Normal?! | 01/01/70 00:00 |