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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/20/05 23:48
Read: times


 
#92017 - thanks anyway
Responding to: ???'s previous message
thanks anyway

DYTA EQU 51H
ADRES EQU 52H

MOV ADRES,#10H
MOV DYTA,#32H


what does this code means?

and

EEPROM_READ_ADDR:
MOV A,#10100001B
LCALL WRITE1
RET

EEPROM_WRITE_ADDR:
MOV A,#10100000B
LCALL WRITE
RET

if i want to access the other i2c device with address A1=0 and A0=1, am i just change the second bit in that code ?
the code should be

EEPROM_READ_ADDR:
MOV A,#10100011B
LCALL WRITE1
RET

EEPROM_WRITE_ADDR:
MOV A,#10100010B
LCALL WRITE
RET

am i right?
sorry, this is not my homework
i'm just curious

List of 17 messages in thread
TopicAuthorDate
interface serial eeprom 24c512 - 89s8252            01/01/70 00:00      
   here!            01/01/70 00:00      
      thanks            01/01/70 00:00      
      wanna ask more            01/01/70 00:00      
         Homework            01/01/70 00:00      
         Re:wanna ask more            01/01/70 00:00      
            thanks anyway            01/01/70 00:00      
               Re:thanks anyway            01/01/70 00:00      
                  thank you            01/01/70 00:00      
                  hello again            01/01/70 00:00      
                     re:            01/01/70 00:00      
                        RE:            01/01/70 00:00      
                           To Sugiarso:            01/01/70 00:00      
                              thanks            01/01/70 00:00      
                                 Again,Edited            01/01/70 00:00      
         public information            01/01/70 00:00      
   Check this page....            01/01/70 00:00      

Back to Subject List