Re: Microcontroller Project
- From: kensmith@xxxxxxxxxxxxxxx (Ken Smith)
- Date: Wed, 29 Mar 2006 02:06:05 +0000 (UTC)
In article <MPG.1e9326a6375aba7298996c@xxxxxxxxxxxxxxxxxxx>,
Keith <krw@xxxxxxxxxx> wrote:
[....]
Good luck with automatic variables in an 8051.
If the code doesn't recur, the overlay method works ok. Its interrupts
and recuring code that really makes it big trouble.
Remember, you only
have 128 bytes and about half of that taken for other purposes.
It's been a few years since I used an 8051, but I don't recall any
sort of stack frame either.
You can do stuff like:
mov A,SP
add A,#(0-something)
mov R0,A
mov A,@R0
I don't think I'd care to do a TCP/IP stack in an 8051 either. ;-)
I don't see why not. You'd have to have external RAM anyway so you can
have a micro with 128 registers and 512K of RAM. That would be room
enough.
--
--
kensmith@xxxxxxxxx forging knowledge
.
- References:
- Re: Microcontroller Project
- From: David L. Jones
- Re: Microcontroller Project
- From: David L. Jones
- Re: Microcontroller Project
- From: Spehro Pefhany
- Re: Microcontroller Project
- From: Keith
- Re: Microcontroller Project
- Prev by Date: Re: Low distortion sine wave VCO's - state of the art?
- Next by Date: Re: Microcontroller Project
- Previous by thread: Re: Microcontroller Project
- Next by thread: Re: Microcontroller Project
- Index(es):