I would have thought half the folks reading this thread would have replied... just reverse what you've already done... using your example...

d.lowbyte=a
d.highbyte=b

Using your example d would now equal 15334.

Melanie