Hi, I just completed a course on 8085 microprocessor.
Now i want to start learning 8051. Is the background of 8085 enough for 8051 or do i need to learn more before starting 8051? Also which is the best book to start with ? what tools/software/hardwares do i need ? and where do i start
from? Please guide me...
carve,
i see watcom and i like llook.you know is there a 8051 class for the watcom?
doe it work with
You cannot use the Watcom C compiler to produce output that runs on a '51.
You can write a 8051.c file or library for watcom.
I think you can search on m*crosoft and find example code.
The Watcom Manuals are here: www.openwatcom.com/.../Manuals
The Getting Started guide is here: www.openwatcom.org/.../c_readme.pdf
It says:
"Watcom C/C++ is a professional, optimizing, multi-platform C and C++ compiler with a comprehensive suite of development tools for developing and debugging both 16-bit and 32-bit applications for DOS, extended DOS, Novell NLMs, 16-bit OS/2, 32-bit OS/2, Windows 3.x, Windows 95/98/Me, Win32s, and Windows NT/2000/XP (Win32)."
So the answer to your question is, as previously stated: No, it does not support the 8051!
The Getting Started guide also says:
"You should read the entire contents of this booklet, as it contains information on new programs and modifications that have been made since the previous release."
"You can write a 8051.c file or library for watcom."
You can write it, but it will not run on an 8051!
The Watcom compiler is not a Keil product - so this is not the place to discuss it!
Of course, being open-Source, it is supported by "The Community" - here:
www.openwatcom.com/.../Resources
thank for your help.but i look at example and cannot find.
where is a a link?
carve ?????????????????
a) camve manras is not a 'bot that will auto-respond as soon as you post anything. This is a forum. Never expect people to answer just because you want them to.
b) camve manras claims that Watcom can be used for 8051 procesors. However, it is quite unlikely that there are any ongoing freeware work building a new backend to the Watcom compiler. As a long-time owner of the Watcom compiler (the original commercial version) I know that the Watcom compiler supports just about any x86 platform. The 8051 processor is not part of the x86 platform. You can't just add a plugin to a compilar to make it support a different processor architecture. Adding a new back-end to a compiler is a huge job. gcc is one of the few compilers out there that does support a multitude of processors, and if you look at the code you will notice how hard work that is!
Don't confuse Watcom (the compiler) with a number of available IDE. An IDE can be loosely coupled with compilers, which for example mean that the Code::Blocks IDE has support for a huge number of different compilers. A number of IDE allows the addition of a plugin to support a new compiler.
Dude, There is no link because what you want to do is not possible. Comprende (probably misspelled...) ??????
not possible. not possible. not possible.
Read the wise responses!
Actually, "GCC" is the "GNU Compiler Collection" - which is how it comes to support a multitude of tagrets and languages.
However, as far as I know, there is no GCC support for the 8051 - for that, you need SDCC:
http://sdcc.sourceforge.net/
Again, nothing to do with Keil - so off-topic fpr this forum.
yes i see watcom
can i use keil for c?
Actually, "GCC" is the "GNU Compiler Collection" - which is how it comes to support a multitude of tagrets and languages
Actually, I don't think anyone has claimed something else ;)
Are you sure you want to learn 8051? 29 years old architecture is now becoming obsolete. Learn modern computers, PIC, or Zilog's Z80 (best micro I worked with). Build whatever and start with anything. They are definitively better. I had to learn 8051 architecture for my school exam, and it's sooooo limited, timers are restricted when using uart, clock cycle is too long....
Yes, Keil produce 'C' compilers - see: http://www.keil.com/product/
As to whether you will be able to use them - that's another matter! It will certainly require you to apply a lot more thought & effort than you've shown so far!
:-(
For a start, how about going back and looking at the links you've already been given?
"Are you sure you want to learn 8051? 29 years old architecture is now becoming obsolete. Learn modern computers, PIC, or Zilog's Z80"
There are certainly no signs of the 8051 becoming obsolete - and the PIC and Z80 are of similar vintage.
With PIC and Z80, you are tied-in to a single manufacturer; with 8051s, you have literally hundreds of sources to choose from - and you can get FPGA cores to make your own.