These instructions are documented to relocate and periodically invert the bits of their argument, but their actual behavior is undocumented. Anyone know what algorithm they follow?
If not, posting how they both behave with the attached inputs (which are given in binary) is also welcome.
EDIT: Oop- the inputs are 16bit. You should be able to see how to extend them to 32-bit, though, it's a pretty simple pattern.