Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/06/02 21:51
Read: times


 
#26849 - debugging problems
hi all,
this might be a silly question. does the way the debugger works indicates how my program flows(flowchart works) ?? for example using RIDE i was trying to do step by step debugging (F7)...

something like this:::
LJMP MAIN

MAIN: MOV SP,#STACK ;STACK
................
...............
.............
..............
MOV A,#014H; <----- goes to main
dummy1: MOVX @DPTR,A

after completing the Mov A, #014H instruction the control goes back to main...instead of going to dummy1( dummy1 given for understanding purpose), even though there is no jump involved and performs the loop for the second time until it reaches dummy1. Remember there are no abrupt jumps or calls to the main..
Is there something i am missing? because the assembly code works fine... and i am trying to write it in C..

thanks,
roger

List of 4 messages in thread
TopicAuthorDate
debugging problems            01/01/70 00:00      
RE: debugging problems            01/01/70 00:00      
RE: debugging problems            01/01/70 00:00      
RE: debugging problems            01/01/70 00:00      

Back to Subject List