Am 09.07.2011 05:26, schrieb Charles Wilkins:
> After some further tinkering I was able to get SDCC generated instructions to 
> work with EdSim51 by passing SDCC the following option:
> --iram-size 128
> I still am curious why, however, MOVX is in the disassembly.
> Charles


Hi Charles,

if you look at the very end of the .map file you find
the libraries listed that are linked to your code.

The suspects in your case are:
[ crtxinit.rel ] and [ crtxclear.rel ]

These are documented in the manual at:
3.12.1 MCS51/DS390 Startup Code

With the option --no-xinit-opt (which pretty much does what
it says if you translate 'x' to "xdata") you can get
rid of those MOVX:)

Greetings,
Frieder

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to