hola desde ya agradesco su respuestas
mi problemas es en el registros 0 del DS1307
quiero que el pic 16f877 sepa si ha estado en modo respaldo con la bateria
se que en el bit 7 del registro 0
0 estaba funcionando el RTC en modo respaldo por la bateria
1 no esta funcionando
el problema no se como hacer un condicional con ese bit en CCS pero
en ASM sera si el valor ya lo lei por I2C y esta en el registro 0x0c
btfsc 0x0c,7
pero en ccs estoy casi nuevo