Hello mjcoury,
The use of the asterisk (*) as a branch destination works OK for assembler, but apparently not for in-line code.
However, it can easily be avoided by defining a label prior to each bit test and branch instruction, and then branching to that label within the instruction.
AGN:
BRSET 7,PORTA,AGN // Wait for Falling Edge of Clock Pin 7 of Port A
I wonder if the following line is OK for inline assembly - it certainly would be problematic for standard assembler.
ROL *cSPIData_ptr // Store in result
Regards,
Mac