Hi Conspiracy Bro,
On the"message 302"s - I think that's because TRISA and TRISB are both in memory bank 1.
The ASM command sets the bank to zero, so you'll have to set the bank back to 1 in your ASM section before modifying the TRIS registers.
Make sure to re-set the bank as needed before leaving the ASM section.
<<<EDIT>>>> Duhh - I now see you did that already...
Bookmarks