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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/15/08 12:50
Read: times


 
#160048 - Problem with DPTR when Disassemble
Hi,
I have problem when disassemble this simple code by using D52:

-----------------------------
org 4000h

mov DPTR,#2000h
mov A,#00h
movx @DPTR,A
end
----------------------------

The result looks like this:

----------------------------
org 2000h
;
X2000: mov r7,a
;
org 4000h
;
mov dptr,#X2000
mov a,#0
movx @dptr,a
;
end
;
---------------------------


You see....
1. There is org 2000 (This must not exist)
2. There is mov r7,a (This must not exist either)
3. mov dptr,#X2000 (This should be - mov dptr,#2000h)


What do you think !...


List of 2 messages in thread
TopicAuthorDate
Problem with DPTR when Disassemble            01/01/70 00:00      
   Re: Problem with DPTR when Disassemble            01/01/70 00:00      

Back to Subject List