Hi all,

I'm using a PIC16F1939 to control a RTC chip with I2C. I'm using PBP2.60. The 16F1939 has 16384 words of programming memory. So whenever I compile the big program that I'm playing with I get the normal message,


Name:  Result-01.bmp
Views: 455
Size:  623.9 KB


Everything good so far. So, whatever code I add to my program I get the above "Crossing page boundary...." messages. Now, if I add these lines of code,


Code:
SYMBOL SCL = PORTC.3            'EEPROM CLOCK PIN   
SYMBOL SDA = PORTC.4            'EEPROM DATA PIN    


ADDRESS     VAR BYTE  
CONTROL     VAR BYTE: CONTROL = %11011111

WRITE_VAR = %01000000   
'I2CWRITE SDA, SCL, %11011111, $07, [WRITE_VAR]
ADDRESS = $07
I2CWRITE SDA, SCL, CONTROL, ADDRESS, [WRITE_VAR]
PAUSE 10
Then, I always get the following messages,


Name:  Result-02.bmp
Views: 401
Size:  756.5 KB


The program seems to be working fine. But, I have no idea why I get this "1183 : Crossing page boundary..." message only when I use the I2CWRITE. I'm pulling my hair out trying to figure this out . Any help will be greatly appreciated.

Thank you,