From: Frieder F. <fri...@we...> - 2011-07-09 08:15:29
|
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 |