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

Asscess Code address

I am using the P89c51rd2's IAP function the store the data to the code space at
0xff00 ~ 0xffd0

for example, i want to call the data at oxff00

how can i do it in C51?

can i use pointer?

please help and many thx!

Parents
  • Hi Peter, No one will knows where is the location of the code memory, This is the responsible of the complier. If you are talking about data memory to fixed address location you can use _at_ command to specify the location

    BYTE time_second _at_ 0x0005 ;

    then you just call time_second

    terrance

Reply
  • Hi Peter, No one will knows where is the location of the code memory, This is the responsible of the complier. If you are talking about data memory to fixed address location you can use _at_ command to specify the location

    BYTE time_second _at_ 0x0005 ;

    then you just call time_second

    terrance

Children
No data