PeterTillema / ICE

ICE Compiler for the TI-84 Plus CE
22 stars 1 forks source link

Support more than 85 variables #124

Open runer112 opened 5 years ago

runer112 commented 5 years ago

After 85 variables, variables no longer get correctly allocated due to running out of index register offset range. At this point, you should fall back to referencing extra variables directly.

AlvajoyAsante commented 4 years ago

This Limits ICE very much. Even though it cause Allocating error. I forked this and removed the ICE variabel limitation. 😄

runer112 commented 4 years ago

I forked this and removed the ICE variabel limitation. 😄

Don't do that. The limitation is in there for a reason. Accesses to any variables after the 85th will be miscompiled.

EDIT: Probably, anyway.

AlvajoyAsante commented 4 years ago

Don't do that. The limitation is in there for a reason. Accesses to any variables after the 85th will be miscompiled.

I have not had a problem thus far. I am using ConvHex to limit over sizing.