Agreed, but ecause the questioner did not clarify his parameters for the task, I "guessed between the lines" and made the assumption that the reverse would have to be done without defining additional storage.
I suppose in Assembler I can load the field into a register, and do a few bit shifts.