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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/07/03 18:40
Read: times


 
#38513 - RE: Program NOT running
Responding to: ???'s previous message
Demetris S wrote:
-------------------------------
the program is not running.

I put a very basic program like



org 0h

mov A,#05h

mov dptr,#3000h

mov @dptr,A

end



After "running" the program i look in 3000h address but nothing is changed.


The DS5000 is a very clever unit. Have you set the correct boundaries for CODE and XDATA ?

Your code should be in 0- (say) 0FFFH and your XDATA from 1000H up.

Your program would be better as
ORG 0
start:
LJMP 100H
org 100h
PGM: mov A,#05h
mov dptr,#3000h

mov @dptr,A

end


How are you looking at 3000H ? With Kit5K ?

STeve

List of 12 messages in thread
TopicAuthorDate
Program NOT running            01/01/70 00:00      
   RE: Program NOT running            01/01/70 00:00      
      RE: Program NOT running            01/01/70 00:00      
         RE: Program NOT running            01/01/70 00:00      
   RE: Program NOT running            01/01/70 00:00      
      RE: Program NOT running            01/01/70 00:00      
   RE: step thru it            01/01/70 00:00      
      RE: step thru it            01/01/70 00:00      
         RE: step thru it            01/01/70 00:00      
         RE: step thru it            01/01/70 00:00      
            RE: step thru it            01/01/70 00:00      
               RE: step thru it Raghu & Steve            01/01/70 00:00      

Back to Subject List