Review code written for pic 12f1840 written in xc8

Job ID: 38151421

Budget: $30 – $250 USD

I have code written in xc8 for pic 12f1840 that works correctly but on certain occasions it crashes at startup. The code needs optimization to run more stable. corrected, I would like to implement a UART communication port using a single available pin.