Make sure hardware registers are manipulated as little-endian