I need to writer a C function that mush be in a protected space in flash memory, But I don know how to specify the memory loaction of the function. I'm using a 8051 core with on board flash using the UVision 2 dev sys. ed.
Assigning addresses is the Linker's job - so use the Linker!