how to trace the register values in a program using keil debug session
Now am i right sir? Thanks for helping me sir. Am new to this. could u plz explain that coding now?
push 00h push 01h mov a,49h mov b,#0ah mul ab add a,48h mov b,#3ch mul ab mov 38h,a mov r0,b cjne r0,#00,gothr sjmp gothr1 gothr: mov a,r0 gothr1: add a,#00h mov r0,a mov a,47h mov b,#0ah mul ab add a,46h add a,38h jnc gothr2 push 0e0h mov a,r0 add a,#01h mov r0,a pop 0e0h gothr2: mov r1,a mov a,r1 add a,#00h mov r1,a pop 01h pop 00h ret
use # symbol while loading values use correct destination address for this command "cjne r0,#00" then analyse the program well while posting the commends next time follow instruction given below "tips for posting message"
1.after clicking stop/start debug session 2.click view 3.click register window
i dnt know how to use the breakpoints to trace reg values
even a 3grade kid knows how to use the search engines. (i doubt you'll even understand the heading and the point i am trying to make here)
View all questions in Keil forum