Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 14th January 2005, 05:17 AM   (permalink)
Default C and Assembly

Hi friends
I know C programig (Only TURBO C) and 8051 (worked on Atmel chips) .I have heard that there is something called cross compilers which convert C prog into assembly (8051 compatible ) language .Is it true ?If yes where can i get those cross compilers from ?
Also plz help me how to start out using cross compilers
Thanks in advance
Take care bye...
microcare is offline  
Old 14th January 2005, 06:50 AM   (permalink)
Default Re: C and Assembly

Quote:
Originally Posted by microcare
Hi friends
I know C programig (Only TURBO C) and 8051 (worked on Atmel chips) .I have heard that there is something called cross compilers which convert C prog into assembly (8051 compatible ) language .Is it true ?If yes where can i get those cross compilers from ?
Also plz help me how to start out using cross compilers
A cross compiler is simply a program which runs on a computer (often a PC) and produces code for something else - ALL C compilers for micro-controllers are cross compilers. Likewise all assemblers are cross assemblers, so just search for C compilers for your chosen processor, I don't use the 8051 so I've no idea if you can download free compilers or not, or if you have to buy them.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 14th January 2005, 08:04 PM   (permalink)
Default

There are a couple free 8051 C compilers out there - they take a bit of searching to find though. Keil has a free 2Kbyte limited eveluation of their compiler that should work for small projects.
bmcculla is offline  
Old 17th January 2005, 04:49 AM   (permalink)
Default

Quote:
Originally Posted by bmcculla
There are a couple free 8051 C compilers out there - they take a bit of searching to find though. Keil has a free 2Kbyte limited eveluation of their compiler that should work for small projects.
I think the Keil C51 is rather optimized. You could actually do quite a lot of thing with this 2kB
StupidDum is offline  
Old 17th January 2005, 07:46 AM   (permalink)
Default

is it credible? the cross compiler ?
__________________
let me try!
gas is offline  
Old 17th January 2005, 08:56 AM   (permalink)
Default

Quote:
Originally Posted by gas
is it credible? the cross compiler ?
Sorry?, I don't understand what you are asking?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 17th January 2005, 07:12 PM   (permalink)
Default

If you can afford the chips Silicon Labs 8051s are excelent controllers. They have built in JTAG emulation which makes debuging much easier. They also provide a 4K limited Keil compiler and easy to use development software.
bmcculla is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:06 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker