ERROR Origin Exceeds $1F0 limit - what does this mean?
Hi everyone,
I just did a bunch of editing to my program and now when I compile it I get the following error
ERROR Origin Exceeds $1F0 limit
This pops up on a line where I declare a variable with the RES statement...
DY Res 1
Which is in the middle of a several more Res statements.
What is this error and what should I look for to fix the problem?
Thanks
Chris
I just did a bunch of editing to my program and now when I compile it I get the following error
ERROR Origin Exceeds $1F0 limit
This pops up on a line where I declare a variable with the RES statement...
DY Res 1
Which is in the middle of a several more Res statements.
What is this error and what should I look for to fix the problem?
Thanks
Chris
Comments
But it looks like you exceeded the boundaries of PASM. As you know you only have a limited amount of COG-RAM. The variable reserved with the RES statement simply popped out of the usable COG-RAM. The last 16 registers of COG-RAM are already reserved by the special function registers.
Thanks again!
Chris
I never thought about that angle. I do have a number of variables being setup at the start of the code. Once that step is done, I don't need that code. I don't know if that would free up enough space buy I will have to look into that.
Thanks
Chris