How much memory is there really?
I just started trying some algorithms for our arm, and ran into some memory problems. I want a big lookup array.
The linker barfed when I tried to declare an 800 BYTE array. So I started poking around in the MAP file.
It seemed that there was a lot of code space to spare (I was only utilizing 12%), so I tried declaring the array as "rom" to see if I could use code space for my lookup table (since it will never change).
Woo-Hoo. I can seem to define SCADS of space there: eg:
rom BYTE Omega ;
The map file verifies that this allocation is OK and ending up in the code space... so my question is:
Does this memory really exist in the RC?
In other words will the linker protect me from over declaring space?
I want to be sure that I'm not just being fooled by the compiler/linker.
Any experiences with large const data in the code memory?
|Display Modes||Rate This Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|A robotic challenge that's really out there||Richard Wallace||General Forum||3||09-19-2006 07:26 PM|
|How much does Israel really cost the US tax payer??||Matt Attallah||Chit-Chat||9||07-23-2006 12:18 AM|
|Is there really inspiration in teams?||Philip W.||General Forum||22||08-22-2005 10:53 AM|
|Do teachers really know that there talking about?!?||Erodge||Chit-Chat||17||10-18-2002 11:41 PM|
|how much is too much on the DRILL MOTORS?||archiver||General Forum||11||06-23-2002 10:53 PM|