When using stamp basic code that contains "modes" with PBP

You need to add

Code:
Include "modedefs.bas"
Or change this

Code:
SHIFTIN MXSO, MXSCLK, MSBPRE, [TCtemp1\16,TCtemp0\16] 'shift in the data
to

Code:
SHIFTIN MXSO, MXSCLK, 0, [TCtemp1\16,TCtemp0\16] 'shift in the data