Welcome to the forum.

Is that the whole code posted? I do not see how this will work
Code:
 SHIFTIN PORTC.2, PORTC.0, LSBPRE,[theoutput \16]             ' Shift in socket 1 data 
  LCDOUT $FE, 1, BIN16 dasresult             ' Display values
I do not see "dasresult " as a VAR or how you are going from "theoutput" to "dasresult".