Hi, i write this codes but... i think interrupt is not working and data is not send from pc to pic eprom..





DEFINE HSER_RCSTA 90h
DEFINE HSER_SPBRG 64
DEFINE HSER_CLROERR 1
RCIF VAR PIR1.5
EOM con ""
bilgi var byte
b var byte
start:
if RCIF then ' incomming data?
HSERIN [bilgi]
if bilgi= "@" then
goto pctalk
else
goto start
endif
endif
....
....
... other codes
....
....


pctalk:
getserial:
HSERIN [bilgi]
write b, bilgi

if bilgi = EOM then
Goto start
endif
B = b + 1
goto getserial