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
  • The way the original post is worded is confusing. ...to "call" "data'. My reference is to call "code" - perhaps some self-modifying code that never gets old.

    The Keil macros in ABSACC.h (CBYTE,CWORD) provide easy access to "read" "data" in "code" space.

Reply
  • The way the original post is worded is confusing. ...to "call" "data'. My reference is to call "code" - perhaps some self-modifying code that never gets old.

    The Keil macros in ABSACC.h (CBYTE,CWORD) provide easy access to "read" "data" in "code" space.

Children
No data