i assume the real question in this jumble is how do i sent a word var as a binary number msb first using hserout

Temp var word
Temp=167


HSEROUT [$01,$0F,$00,Temp.highbyte,Temp.lowbyte,IRCS)