cont con %10100000

I2CWRITE SDA,SCL,cont,Addr,[x]

or............ I2CWRITE SDA,SCL,%10100000,Addr,[x]

its all in your PicBasic Pro Compiler manual under i2cwrite and i2cread commands.Goto Microchip.com and Download the 24c512 datasheet, well tell you everything you need to know.