On Tue, 23 Jan 2007, Maarten Brock wrote:

> 
> Is code, xdata and data all the same memory or only the first two?

Yes. All three are the same. This is how the FX2 is mapped. It 
has 8K of internal RAM, mapped as code, data, and xdata. 
The only "parallel universe" is the SFR block at 0x80-100 in parallel
with the indirect RAM block that I will use for a stack. 

> 
> Which version of SDCC are you using? 

2.6.0

> --data-loc does not work for any but
> a very recent version when using --pack-iram (default). Try
> --no-pack-iram.

Ahhhh, that's the ticket. Thanks for confirming the data-loc
brokenness. Indeed --no-pack-iram makes it work. Glad to hear this
feature is corrected in the newest version. 

Thanks. Problem solved. 

-- 
Chris Nadovich                           
http://www.nadovich.com/chris
73 de KD3BJ ..

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to