I think I have the same problems with gavo. But currently I'm using assembly to do my programming. This rfPIC12f675 is different from other normal PICs where it has only one tris and gpio port. And the gpio reg is assigned to the pin itself.
Can you kindly explain to me about how can I read in data serially using assembly? I'm sorry that I'm not really familiar with the code you pasted before.
Can I just read in data bit by bit say into gp3 and then send it to gp2 for ASK modulation?
Or can I just put or connect my digital input to gp2?

I understand that the coding below is a Keeloq protocol

' Constants
PreAmble CON $A5 ' 10100101 preamble
Synch CON "~" ' 01111110 synch byte
N4800 CON 188 ' 4800 bps
N2400 CON 16780 ' 2400 bps
GUARD CON 5 ' 5mS guard time pause

As I'm not familiar with your coding, may I know what CON indicates and what N4800 CON 188 means?


Thanks again for your help!