Hi All, In 8-bit microcontrollers which has upper 128 bytes of internal indirectly addressable RAM, Is stack initilizes from this upper or lower internal RAM address?
Thanks and Regards, Ashutosh Tiwari
they also set the SCON to zero, all ports to 1 and the IE to zero. indicating that all reset values are to be considered 'safe' rather than 'working values'
Erik
Is there, or have there ever been, any 8051 without any internal RAM besides the SFR region?
The smallest Atmel AVR chips uses the normal registers as a stack. Quite enough to do funny things with a tiny 8-pin chip.
"...considered 'safe' rather than 'working values'"
Either way, they are both predictable and usable - Heck, I wouldn't be too happy if the processor reset state were to allow interrupts to occur after the reset and before I had a chance to configure the interrupt sources as required.