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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/25/02 07:09
Read: times


 
#33089 - About AT89S8252, DPTR1 and DP1L.
;AT89S8252
DPS EQU 00000100B ;DPTR select bit
EEMEN EQU 00001000B ;EEPROM access enable bit
EEMWE EQU 00010000B ;EEPROM write enable bit
ORG 30H

ORL WMCON,#EEMEN ;enable EEPROM ecces
ORL WMCON,#EEMWE ;enable EEPROM write

XRL WMCON,#DPS ;switch data pointer to DPTR1
MOV DPTR,#02A3H
MOV DP1L,#010H
MOV DP1H,#00H
MOV A,#07H
MOVX @DPTR,A ;Data 07H is in 02A3H EEPROM, but not in 0010H

MOV DPTR,#03A5H ;DP1L, DP1H are not change!!!
END
;Please, help me! Where is my mistake?

;Thanks for all answers.

List of 7 messages in thread
TopicAuthorDate
About AT89S8252, DPTR1 and DP1L.            01/01/70 00:00      
RE: About AT89S8252, DPTR1 and DP1L.            01/01/70 00:00      
RE: About AT89S8252, DPTR1 and DP1L.            01/01/70 00:00      
Look at the Primer doc            01/01/70 00:00      
RE: Look at the Primer doc            01/01/70 00:00      
RE: RE: About AT89S8252, DPTR1 and DP1L.            01/01/70 00:00      
RE: RE: I found the answer of my problem            01/01/70 00:00      

Back to Subject List