This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I map my program in the code memory ?

I discover keil and C51. I work with a AT89C51. For my application I want to put my application program from $0000 to $DF7F (flash memory code), and a boot program from $E000 to $EDFF (flash memory code). For example with only two fonction (one for the application and the other for the boot, what I have to put in the code ? How I have to configure the linker ?



// What I have to put here ? #pragma ... ??
void appli()
{
...
}

// What I have to put here ? #pragma ... ??
void boot()
{

...
}

0