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

8051s

i have some registers declared in external data memory which i want to add in my assembly code. so i used
MYREG XDATA 0xF300
but when i use this MYREG in other places it shows me error as DATA ADDRESS EXPECTED. what is the correct usage of xdata..please help me... i have searched but nowhere a proper explanation is provided.
if this is not the proper usage then please tell me how to use registers from external data memory in my code.

Parents Reply Children
No data