Added code to split 16 bit integer into two 8 bit.