Nova Ltd. interview question

How to convert data between two integers without extra memory.