read write on code memory in 8051 using C

I am using P89v51rd2.

I want to store only one variable in the code memory,
so that it is stored permanently. (say a=9999; max)

I want to update this frequently in the program, and read when
required.

can anyone provide me the code for the same ?

thank you...

Parents Reply Children
More questions in this forum