EmbeddedRelated.com
Forums

8051 development board in India

Started by seemanta dutta January 19, 2004
On 2004-01-27, Anton Erasmus <junk@junk.net> wrote:

>>> Plenty of 8-bit processors (starting at least as early as the >>> mid-70s with the 8080 and 6800 families) had fully functional >>> stacks that could be used for parameter passing. Judging by >>> what I've seen with the 6811 port, just about any of the 8 bit >>> CPUs that have a 16-bit address space with a 16-bit SP and >>> 16-bit PC, could be supported. >> >>This is fine for microprocessors but potentialy problematic for >>microcontrollers which have very limited resources e.g. RAM such as the >>8051 and the PIC. > > I have written programs in C compiled with gcc for AVR with 2K code > space and 128bytes of ram. I had less ram space problems with this > setup than with IAR 8051 compiler and a 8051 clone with the same > amount of ram.
Yup. having just a few more registers can save a lot in RAM requirements for stack space. The AVR instruction set was also designed more for compiler use than the 8051 was. -- Grant Edwards grante Yow! Oh, I get it!! "The at BEACH goes on," huh, visi.com SONNY??