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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/07/02 01:15
Read: times


 
#26859 - RE: debugging problems
hi Craig,
thanks for the reply, The program jumps to main after the Accumulator is set to 14H and even the next statement

dummy1: MOVX @DPTR,A

gets executed

******************************************
LJMP MAIN

MAIN: MOV SP,#STACK ;STACK
.....................
...................
..................
MOV DPTR, #FREQ ;SET FREQ TO 10HZ
MOV A,#014H;--> @1
MOVX @DPTR,A; --->@2

when the control is at line @1, and if i press F7 the control jumps to main and again tries to execute all the statements. when i scroll down and see even my next statement is executed( displaying executed lines in blue in ride) ie @2 at the same time.


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