I'm trying to store some constants in program memory using the memory type specifier "code" but it doesn't seem to be working. I'm new to using the MikroE Pascal compiler, so I'm not sure if I'm doing it correctly or not.
Here is my code sample:
Code: Select all
const
MAGIC = $55; code;
VERSION = '1.0'; code;
DATE = '2019-12-27'; code;
How would I store these in program memory? Thanks!