Change endianness of operations