I'm coding for a Cypress EZ-USB FX2, which is an 8051 clone with von Neumannized memory. That means code and data memory are (for the most part) the same memory.
My problem is this. The interrupt vector table needs to be first in memory, starting at address 0x0000 and extending up to 0x006B, but SDCC wants to put static data there, starting at 0x0008. Obviously, this won't work at all. I tried using a "--data-loc 0x006B" option on the command line, but according to the map, SDCC stubbornly still starts DSEG at 0x0008. Is this a bug, or am I missing some obvious feature? How can I get SDCC to put data after the vectors? -- Chris Nadovich 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
