are you saying that the example you send do not work?!?

Color are color... red in MPLAB do not always refer to error...

write this working line

shiftout mosi,sclk,0,[%0010000000000000\16]

all the number will be in red... but it's working, kind of color attribute.