I am using keil C51 7.06A Today I found an error in at89x52,it's about the definition of WR and RD in at89x55.h
sbit WR = P3^7; sbit RD = P3^6;
http://www.keil.com/dd/docs/c51/atmel/at89x52.h