RTFM

There is no HEX modifier with SEROUT, use SEROUT2 instead.

see PBP Manual Section 5.73 & 5.74