Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/06/02 15:17
Read: times


 
#24033 - RE: 8052 code location jump
Hi David,

Even if EA is not connected to ground, any code references greater than the 8K limit of the part will cause it to go external, required the hardware that Vaclav mentioned to get to external ROM.

If you're going to need that much code space, you need to decide whether or not the additional hardware is justified. If you suspect you're going to need 9K total, I'd suggest you start rewriting portions of code in assembler. It doesn't take much to shrink a function by 50% with assembler (and speeding it up in the process). In this way you can squeeze what you need in the 8K limit. (You can also examine the code generated by the compiler, and rewrite the code, still in C, and end up with fewer bytes. Same thing with adjusting code optimizing.)

On the other hand, if you think you're going to need something well in excess of 8K (and don't want to move to a different variant with more internal code space), go for the extra hardware!

Good luck,

Dennis

List of 6 messages in thread
TopicAuthorDate
8052 code location jump            01/01/70 00:00      
RE: 8052 code location jump            01/01/70 00:00      
RE: 8052 code location jump            01/01/70 00:00      
RE: 8052 code location jump            01/01/70 00:00      
RE: 8052 code location jump            01/01/70 00:00      
RE: 8052 code location jump            01/01/70 00:00      

Back to Subject List