View unanswered posts | View active topics It is currently Mon Sep 28, 2020 3:29 pm

Reply to topic  [ 1 post ] 
Increasing the size of the Constant Pool 
Author Message

Joined: Thu Sep 25, 2014 8:34 pm
Posts: 26
Post Increasing the size of the Constant Pool
I am using RobotC 4.3
Is there a way to increase the size of the "Constant Pool"? This is a section of memory that stores all of the constants used in a RobotC program. The contents of the Constant Pool can be viewed by pressing F9 after compiling the code. The "Disassembly" will be shown and the "Constant Pool" is located immediately following the "task main()" declaration. The "Disassembly" will also show a "Constants summary" at the end of the Constant Pool which will include the number of constants and the total size allocated.

The limitation I am running into is that I am running out of space in the "Constant Pool". The compiler is only allowing me to use 3.2Kb of space for these constants. If I exceed 3.2Kb of constants in my program then an error is flagged: "**Error**: Constant Pool overflow".

As soon as my program exceeds 3.2Kb in constants, the error is triggered. The program will still run. But any constants beyond the initial 3.2Kb are nullified (rendering them useless).

I am using mostly string constants to display messages to the debugWriteStream.

Tue Jun 09, 2015 10:36 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.