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

accessing registers

how can i obtain the current values of registers like accumulator,B,stack pointer,PSW,DPTR,etc in C??
i am currently working on a trainer/development kit for 8051..One of the commands to be executed is R<CR> Once this command is executed,the values of all the registers like A,B,SP,PSW,DPH,DPL,R0,R1,R7 should be displayed on screen...how do i retrieve these register values in C?

Parents
  • "that zeusti is really tamir?

    you get your knickers into a gordian knot when somebody uses "is" instead of "most likely" so, what you criticise for miles of posts when somebody does it does not apply to yourself."

    so you think we should have asked

    'that zeusti most likely really tamir?' instead?

    have you considered participating in a show called "are you smarter than a 5th grader?"

    on a lucky day, you may win it.

Reply
  • "that zeusti is really tamir?

    you get your knickers into a gordian knot when somebody uses "is" instead of "most likely" so, what you criticise for miles of posts when somebody does it does not apply to yourself."

    so you think we should have asked

    'that zeusti most likely really tamir?' instead?

    have you considered participating in a show called "are you smarter than a 5th grader?"

    on a lucky day, you may win it.

Children