This is the "ref" implementation of 32.
