![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Is there any software that converts a C language code into assembly language for 8051 microcontroller??
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Lefty |
||
|
|
|
|
|
(permalink) |
|
Posts with meaningless heading like 'Help' tend to get ignored. Everyone here is to either help or to seek help. How is your post different ???
Change the topic to something less rude and more meaningfull and rephrase the question to 'Is there a C compiler for the Intel 8051 microcontroler ?' Having said that, I would suggest that you do a google search for '8051 C compiler'. I found atleast SDCC and Crossware.
__________________
Its not the Practice that makes a man perfect. Its the Man who makes the practice perfect ----- Pradeep K. Shima ----- |
|
|
|
|
|
|
(permalink) |
|
Hi,
I think what you are asking, is there a utility program that you input a program written a C language [text] and it gives you an output file in Assembler language [text]. Am I hitting the 'can'?
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
|
|
|
|
|
|
(permalink) |
|
Most C compilers I've seen (for PICs at least) will generate an assembly language file as an intermediate output, in addition to generating a HEX file.
These machine-generated assembly files tend to be pretty hard to follow, though not as bad if the C code is retained as comments. But, I don't see much reason to care about the intermediate assembly code, except for some basic debugging if you don't trust the compiler, or if you need to write something in assembly language but never took the time to learn how to do it yourself - such as for school work? Given the wording of the original post, I am guessing it's more likely the latter.
__________________
EEgeek.net |
|
|
|
|