problem in interfacimg eeprom AT24C32 with 8051

hi
i am interfacing eeprom at24c32 eeprom ic with 8051.
it has i2c communication sda &scl.i used the following sequence for i2c
1.start()
2. write address with write mode
3. write memory address of eeprom
4. write the number
5. stop
6. write address with write mode
7. write memory address
8. read the number
9. stop

bt my code is not working. will u pls help me?

More questions in this forum