Wheterh SMALL memory or LARGE memory models?

Status
Not open for further replies.

Thomson

Full Member level 3
Joined
Oct 15, 2004
Messages
181
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Activity points
2,400
Hi,
I'm currently using 8-bit 8051 serial MCU which will utilize the external memory model, whereas i still desire to reduce the external memory accesses as much as possible!

The Compiler is Keil!

Shall i adopt the SMALL memory model or the LARGE memory model?

Thanks in advance!

Thomson
 

Thomson,
that depends. Using the small memory model will keep you code smaller and even faster but you will have to do some "tricks" for long branches. Most important is how much time do you want to invest to keep the code let's say 5% smaller and 5% faster?
If time to market is important and you want to make it simpler for you, I would recommend to use the large memory model.

Bob
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…