Initial version

This version passes verification tests, but fails when used in place of
the C library versions, for reasons not yet determined.
Fixed stupid bug in memcpy - was preserving wrong register across the function