[fpc-pascal] Constants

Carsten Bager carsten at beas.dk
Thu Dec 8 12:59:22 CET 2005


Hi
I am compiling for an embedded ARM processor and I am 
running out of data space. Is there a way to keep string constants 
in the code (they are automatically copied to the data segment).

Another problem is, I can not read anything below the data start 
address 
--
data_c:array[0..4] of char Absolute $1;
--
Write(data_c);
--
This will read something from the data segment (data begin +1), it 
should be reading from the flash ram. Is this a compiler problem?

Regards
Carsten




More information about the fpc-pascal mailing list