how to trace the register values in a program using keil debug session
1.after clicking stop/start debug session 2.click view 3.click register window
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
write the objective of this code, then i ll try to explain
logic for storing the clock timings(eg., 12.00 o'clock) in memory
View all questions in Keil forum