However, the code I found on the internet to manage the circuit is written in assembly and designed for a PIC16F84
Isn't that a bummer that the code you happen to find that does your assignment for you is not in the right format.
I'm working on a project that needs to be finished this tuesday.
It is also a bummer that your supervisor only gives you three days to complete a project that he has given you no tuition on.
However, I already have my qualifications, and when I got them I had to do my assignments myself. Why should you expect some one to do yours for you?
A qualification is an indication that you can learn, not that you can get some one else to do your work for you.