Take a look at SEROUT2.
Then you can format it something like this
HEX 42, HEX 24, ...