> -----Original Message----- > From: Microchip [SMTP:microchip@VANZO.IT] > Sent: Wednesday, February 12, 2003 6:54 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: RETFIE or enable GIE > > hello, > if I can ask. > when I use the interrupt service at ORG 0x04 > to see if there is incoming data on the RX, can I > just test the bit RCIE at 0x04, jump to the part > of the program that works with the data and enable > GIE or do I have to return to the interrupt service > and use RETFIE. It would be important for me to stay > there and do some calculations on the data recieved > > thank you > > Stefano Vanzo > You should use either RETFIE or RETURN from the interrupt otherwise you will get a stack overflow. Mike -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics