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

Back to Subject List

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


 
#26818 - Data & Code locations
Hi,

I'm using SDCC with an AT89C52 and I just want someone to double check my code and data locations.

According to the memory org charts amtel provides, http://www.atmel.com/atmel/acrobat/doc0498.pdf,
I guess my settings should be
sdcc --model-small --data-doc 0x30 --code-loc 0x00 --stack-after-data

but what about the --xram-loc? This is 8K of flash, which means its read only, or should i set it to 0xFF and just make sure I access everything indirectly to get to the extra 128 bytes of RAM?

Regards
Chris Pope

List of 2 messages in thread
TopicAuthorDate
Data & Code locations            01/01/70 00:00      
RE: Data & Code locations            01/01/70 00:00      

Back to Subject List