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?
Our friend zeusti writes excellent english with perfect spelling sometimes. Sometimes not. So we either have zeusti plus zeusti two, or zeusti can adaptively change his skill level to match the occasion.
<QUOTE>zeusti can adaptively change his skill level to match the occasion</QUOTE>
zeusti writes at a level which he thinks matches that of the recipient.
watch out hands-broken bonkers!
Adieu to you.
Zeusti.