Should I program the 8052 in assembler, 'C', or some other language?
Submitted By: Craig Steiner FAQ Last Modified: 07/10/06
- This question is right up there with religion and politics in terms of volatility and in terms of the conviction with which people will answer the question.
Most of 8052.com's visitors indicate using assembler (about 52%) while about 35% use 'C'. All other languages make up less than 10% of 8052.com's readers. Assembler has the advantage of giving you complete control of the microcontroller and is potentially more efficient (assuming you code efficiently!). 'C' is theoretically more portable and more "non-8052" people are proficient in 'C' than in 8052 assembler and generally has a quicker "time to market." Further, modern 'C' compilers often generate highly optimized code that is often more efficient than a typical programmer's assembly code, especially if the programmer has little experience in 8052 assembly language. 'C' compilers for the 8052 are often more expensive than assemblers.
Add Information to this FAQ: If you have additional information or alternative solutions to this question, you may add to this FAQ by clicking here.