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 to access DPTR using c program

hello all,
i dont know how to access DPTR and regisrers using C programming. kindly help me in this .

Parents
  • You will find header files in the folder INC which contains the definitions of all SFR's. To insert the header required for you controller, simply right click in the C file, a popup menu appears which gives you the option to include the header file for you specific controller.

    You ill find all SFR's defined in their conventional names and in capital letters e.g.

    the port 0 is defined as "P0"

    data pointer as "DPH" and "DPL"

    and so on.

Reply
  • You will find header files in the folder INC which contains the definitions of all SFR's. To insert the header required for you controller, simply right click in the C file, a popup menu appears which gives you the option to include the header file for you specific controller.

    You ill find all SFR's defined in their conventional names and in capital letters e.g.

    the port 0 is defined as "P0"

    data pointer as "DPH" and "DPL"

    and so on.

Children