Lawrence, It must just be a 12CE5XX thing, because I'm using CCS' I2C functions with a 16F877/24LC256 with no problems. So have you tried comparing what your working ASM code does to what CCS comes up with from thr .LST file? I've found that quite useful on several occasions. Dale -- "Curiosity is the very basis of education and if you tell me that curiosity killed the cat, I say only the cat died nobly." - Arnold Edinborough -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics